Hi,
I’m experiencing serious ssh crashing. It crashes in a lot of different ways in very different circumstances.
Reproducible: always.
How to reproduce:
- /user ssh-keys import user=admin file=id_dsa.pub
- use scp to copy a file (I copy 20MB)
Result during scp (from host with id_dsa)
ssh -l admin 172.16.1.6
Connection closed by UNKNOWN
video-srv-03:~# ssh -l admin 172.16.1.6
Connection closed by UNKNOWN
video-srv-03:~# ssh -l admin 172.16.1.6
Result after scp (I'm trying to login with proper password, from different host, password auth possible only):
admin@172.16.1.6's password:
Permission denied, please try again.
admin@172.16.1.6's password:
Permission denied, please try again.
admin@172.16.1.6's password:
Permission denied (password).
Log print shows zero information about failed login attempts, and finaly, after few seconds:
ssh -l admin 172.16.1.6
ssh: connect to host 172.16.1.6 port 22: Connection refused
Still, telneting goes fine, but logs gives nothing about ssh. So, instead, I’ve tried adding another user with admin rights and import ssh-key into this account:
#lets clear all previous ssh stuff:
/user ssh-keys remove numbers=0 ;
/ip service set ssh disabled=yes
/ip service set ssh disabled=no
# new stuff
/user add name=adminuser group=full password=test
/user ssh-keys import file=id_dsa.pub user=adminuser
And now during “scp adminuser@172.16.1.6:/file.out /tmp” I cannot login to admin, two different failures:
video-srv-03:~# ssh -l admin 172.16.1.6
Connection closed by 172.16.1.6
ssh -l admin 172.16.1.6
Connection closed by UNKNOWN
If adminuser has id_dsa key enabled, and there is no scp going in background, he cannot login with password through ssh (his password isn’t checked or there is no information about it in log). Telneting works fine.
Have you got this already reported? I’ve tried 5.0rc1 and hit that bug, so I’ve upgraded to latest rc and it still sits here and kicks in the a..
Any workaround?