Question --> ssh_allow_users -- Should allow specific logins ? #101
Comments
Hi, normally setting this should be enough. However to help you I'd need to see your whole |
Hey @rndmh3ro thanks for the reply. Sorry for the delay but needed access to the machine to get the information for you Here is the sshd_config file sshd_config Also here's the logs from the server once sshd was restarted. var/log/messages and var/log/secure In a desperation attempt I also tried changing this in the sshd_config file
But even then the login was denied ( I added the /var/log/messages output for that attempt to the previous gist too) |
Well it says |
So the permissions for .ssh and the files within are correct, however I was hoping I'd be able to delete any authorized keys .... I was hoping if the user was listed it would allow them to enter a password and not require a ssh key for access. |
The key has to be authorized, otherwise it won't work. These are two layers of security, the authorized key and the sshd_config. |
ahh I'm such a numpty ,
|
Glad you got it working! |
Hi ,
First off , thank you for creating this project and making securing the machines that much easier.
I've one issue though. For a single specific machine I'd like to enable normal ssh login for a specific username.
I thought adding that user to the
ssh_allow_users
in the defaults would permit it but I'm still seeing the permission denied although I can view the /sshd_config which contains the entry.I'm just wondering what else is required to be done to enable this behaviour ?
The text was updated successfully, but these errors were encountered: