and what's the meaning of that "-x2MN"?
-x enables X11 forwarding
-2 forces ssh to only try protocol version 2
-M places it into master mode for connection sharing
-N tells it not to execute a remote command (just forward ports, only works with -2)
| [reply] |
| [reply] [d/l] [select] |
hi,
-x2MN => sorry, my fault, thought it was ONE arguemnt... tststs...
time ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -x2M -o NumberOfPasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,password -l willnotwork MYDEVICE
Welcome
willnotwork@MYDEVICE's password:
invalid login or password
password:
Connection to MYDEVICE closed.
real 2m4.753s
user 0m0.009s
sys 0m0.006s
I typed pwd only ONCE!
(Watch out - no N given!)
time ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -x2MN -o NumberOfPasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,password -l willnotwork MYDEVICE
Welcome
willnotwork@MYDEVICE's password:
invalid login or password
password:
I typed pwd only ONCE!
and it hangs after that - and should be cought by timeout!
Right?
thanks for help
| [reply] |
time ssh -o StrictHostKeyChecking=no -l willnotwork -vvv MYDEVICE
And post here the full output (you can replace sensitive information there). | [reply] [d/l] |