Jump to content
docgyver

SSH and Denyhosts updated for v6.1

87 posts in this topic Last Reply

Recommended Posts

I'm trying to change the port from 22 to 2222 and was wondering why I cannot? It always defaults back to 22. I've deleted the plugin and reinstalled.

/etc/ssh/sshd_config

appears to be empty...

 

EDIT: Never mind, delete /boot/config/ssh/* and rebooted

Edited by joelones

Share this post


Link to post

Ssh plugin works, idk about denyhosts tho since I haven't used it in a while.

Share this post


Link to post

I started a new thread for this, but was asked to post here: 

 

 

Can someone explain to me what "Available options for SSH Users" is in the settings -> SSH tab?

Its just a list of users and I cant work out what, if anything, I'm supposed to use it for?!

I've checked the Wiki user manual, there is no section for settings -> SSH

 

 

Share this post


Link to post

By default, it's just the root user that can log in via ssh, with the ssh plugin you can allow other users to login via ssh as well. You can also block root access if you wish. For security, it would be best to block root access and just give normal users access. That's what the user list is for, so you can configure ssh access on a user level.

Share this post


Link to post

Thanks for the quick response @strike.

 

I've added a Main and FAQ page at the nudging. :)

Share this post


Link to post

Hi

Fails to install on unRaid 6.5.3 for me.

 

plugin: installing: https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg
plugin: downloading https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg
plugin: downloading: https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg ... done
plugin: run failed: /bin/bash retval: 1

 

Share this post


Link to post
On 8/1/2018 at 11:12 PM, deadnote said:

Hi

Fails to install on unRaid 6.5.3 for me.

 


plugin: installing: https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg
plugin: downloading https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg
plugin: downloading: https://raw.githubusercontent.com/docgyver/unraid-v6-plugins/master/ssh.plg ... done
plugin: run failed: /bin/bash retval: 1

 

installed fine for me however i cannot login with my user accounts and root gets disabled by default and on a fresh boot

Share this post


Link to post

Whenever I try to SSH into my Unraid with the Root account, I get a permission denied error. I have permit root login on yes, but i just can't login. A different User works fine with it though. I tried removing the Password and allow empty password, I set up a password. Nothing changes, i just can't get it work

Share this post


Link to post

Did you install both SSH and Denyhosts plugins?

Denyhosts default behavior is to block logins to root with only a single failure. You may need to whitelist your source IP.

I will wait to speculate further on the problem until after you confirm Denyhosts install or lack.

Share this post


Link to post

I didnt install denyhosts. But i figured out that apparently the ssh plugin doesn't update the config at boot/config/ssh/ssh_d . I manually added "PermitRootLogin yes" and restartet the ssh service. Then it worked

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now