Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Blogs > zhjim
User Name


Rate this Entry


Posted 06-25-2012 at 03:38 AM by zhjim
Updated 07-08-2013 at 08:55 AM by zhjim

Some reminders what can be done with ssh

Use password also we have a key login
ssh -o 'PubkeyAuthentication no' user@host
Notes for sshd:
Keybased login counts as one Authtry. Even when no key is used. That means when using MaxAuthTries 1 in sshd_config one needs to use -o 'pub...' with ssh client to even get to the password prompt. Or use PreferredAuthentication Password option for the client. This way it starts right away with password prompt. (No need for the pubkey.. no option).

Digging some more I found that most ssh clients first try a login without any method. This is seen in the logs as
sshd[]: Failed none for user from i.p.a.d port_number
I did not found away to stop this. But as it is used to have the client know what AuthenticationMethod the server allows I guess it can not be stopped.
Posted in Uncategorized
Views 562 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration