Update connecting-to-ev3dev-with-ssh.md
-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"
This seems like something that should be set in a ssh config file rather than specifying it on the command line every time.
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.