ev3dev.github.io icon indicating copy to clipboard operation
ev3dev.github.io copied to clipboard

Update connecting-to-ev3dev-with-ssh.md

Open tim-band opened this issue 1 year ago • 2 comments

-o PreferredAuthentications=password is necessary if your ssh client is set to try other methods first. We could instead offer this as a response to the error message "Received disconnect from 192.168.0.1 port 22:2: Too many authentication failures"

tim-band avatar Nov 03 '24 13:11 tim-band

This seems like something that should be set in a ssh config file rather than specifying it on the command line every time.

dlech avatar Nov 03 '24 17:11 dlech

This seems like something that should be set in a ssh config file rather than specifying it on the command line every time.

Yes I agree, but saying "and now add this stanza to your .ssh/config" file seems way too much, saying "if you get 'too many auth failures' add this to your .ssh/config" is even more... people who know about .ssh/config will know to do it, people who don't won't want to learn it here.

Saying "if you get 'Too many authentication failures' try adding '-o PreferredAuthentication=password" seems maybe about right, but just adding it is saying even less, which is what I suggest here, but either of these seems OK to me.

tim-band avatar Nov 09 '24 19:11 tim-band