Some more info on ssh problem, which i posted above.
Using ssh dsa-key i tried to do export:
$ ssh -i .ssh/xxxxxx_id_dsa xxxxxx@212.0.xx.xx 'export'
xxxxxxx@212.0.xx.xx's password:
Permission denied, please try again.
xxxxxxx@212.0.xx.xx's password:
Permission denied, please try again.
xxxxxxx@212.0.xx.xx's password:
Received disconnect from 212.0.xx.xx: 14:
Mikrotik log:
14:49:49 ssh,info connection accepted from: 212.0.xx.xx:44533
14:49:49 ssh,debug transport state: 0 --> 1
14:49:49 ssh,debug kex algo: diffie-hellman-group-exchange-sha1,diffie-hellman-g
roup1-sha1
14:49:49 ssh,debug host key algo: ssh-dss,ssh-rsa
14:49:49 ssh,debug enc algo CS: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc
four,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes
256-ctr
14:49:49 ssh,debug enc algo SC: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc
four,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes
256-ctr
14:49:49 ssh,debug mac algo CS: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160
@openssh.com,hmac-sha1-96,hmac-md5-96
14:49:49 ssh,debug mac algo SC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160
@openssh.com,hmac-sha1-96,hmac-md5-96
14:49:49 ssh,debug comp algo CS: none,zlib
14:49:49 ssh,debug comp algo SC: none,zlib
14:49:49 ssh,debug lang CS:
14:49:49 ssh,debug lang SC:
14:49:49 ssh,debug packet follows: 0
14:49:49 ssh,debug agreed on: diffie-hellman-group-exchange-sha1
14:49:49 ssh,debug agreed on: aes128-cbc
14:49:49 ssh,debug agreed on: aes128-cbc
14:49:49 ssh,debug agreed on: hmac-md5
14:49:49 ssh,debug agreed on: hmac-md5
14:49:49 ssh,debug agreed on: none
14:49:49 ssh,debug agreed on: none
14:49:49 ssh,debug trying DSS file
14:49:49 ssh,debug DSA key loaded
14:49:49 ssh,debug trying PEM container..
14:49:49 ssh,debug DSA key loaded
14:49:49 ssh,debug transport state: 1 --> 2
14:49:49 ssh,debug new key A => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug b711 b3eb 273a f7dd e902 4dc8 6745 ecd5
14:49:49 ssh,debug
14:49:49 ssh,debug new key B => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug 783c bae6 ea29 9718 457a 758a 3395 bf41
14:49:49 ssh,debug
14:49:49 ssh,debug new key C => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug 0921 c650 21e0 8c85 c767 e761 fffa be57
14:49:49 ssh,debug
14:49:49 ssh,debug new key D => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug e1dc a21f bee8 7c78 16a9 39fa 0be2 0cb3
14:49:49 ssh,debug
14:49:49 ssh,debug new key E => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug 4ad5 50fe d907 2a00 1d21 f93e 3b8a 8abe
14:49:49 ssh,debug
14:49:49 ssh,debug new key F => offset:0 [0x0]
14:49:49 ssh,debug => size:16 [0x10]
14:49:49 ssh,debug 4239 3eb9 2561 9663 718b d747 ed81 0b30
14:49:49 ssh,debug
14:49:49 ssh,debug authorization service requested
14:49:49 ssh,debug auth req: xxxxxx ssh-connection none
14:49:49 ssh,debug getting user password for: xxxxxxx
14:49:49 ssh,debug next auth methods: publickey,password
14:49:49 ssh,debug auth req: xxxxxxx ssh-connection publickey
14:49:49 ssh,debug auth retry: 1
14:49:49 ssh,debug getting user password for: xxxxx
14:49:49 ssh,debug next auth methods: password
14:49:50 ssh,debug auth req: xxxxxxxx ssh-connection password
14:49:50 ssh,debug auth retry: 2
14:49:50 ssh,debug getting user password for: xxxxxx
14:49:50 ssh,debug auth password failed: invalid user name or password (6)
14:49:50 ssh,debug next auth methods: password
14:49:50 ssh,debug auth req: xxxxxxx ssh-connection password
14:49:50 ssh,debug auth retry: 4
14:49:50 ssh,debug getting user password for: xxxxxxxx
14:49:50 ssh,debug auth password failed: invalid user name or password (6)
14:49:50 ssh,debug next auth methods: password
14:49:50 ssh,debug auth req: xxxxxxx ssh-connection password
14:49:50 ssh,debug auth retry: 6
14:49:50 ssh,debug code 0x0300000e closing..
14:49:50 ssh,debug closing port 0
Now i try to do the same command, with the same key and the same user from another machine:
$ ssh -i .ssh/xxxxxxx_id_dsa xxxxxxx@212.0.xx.xx 'export'
failure: std failure: timeout (13)
before timeout it freezes for a long time...
Mikrotik logs:
14:56:49 ssh,info connection accepted from: 212.0.xx.xx:25564
14:56:49 ssh,debug transport state: 0 --> 1
14:56:50 ssh,debug kex algo: diffie-hellman-group-exchange-sha256,diffie-hellman
-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
14:56:50 ssh,debug host key algo: ssh-dss,ssh-rsa
14:56:50 ssh,debug enc algo CS: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc
four128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes
128-ctr,aes192-ctr,aes256-ctr
14:56:50 ssh,debug enc algo SC: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc
four128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes
128-ctr,aes192-ctr,aes256-ctr
14:56:50 ssh,debug mac algo CS: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripe
md160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
14:56:50 ssh,debug mac algo SC: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripe
md160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
14:56:50 ssh,debug comp algo CS: none,zlib@openssh.com,zlib
14:56:50 ssh,debug comp algo SC: none,zlib@openssh.com,zlib
14:56:50 ssh,debug lang CS:
14:56:50 ssh,debug lang SC:
14:56:50 ssh,debug packet follows: 0
14:56:50 ssh,debug agreed on: diffie-hellman-group-exchange-sha256
14:56:50 ssh,debug agreed on: aes128-cbc
14:56:50 ssh,debug agreed on: aes128-cbc
14:56:50 ssh,debug agreed on: hmac-md5
14:56:50 ssh,debug agreed on: hmac-md5
14:56:50 ssh,debug agreed on: none
14:56:50 ssh,debug agreed on: none
14:56:50 ssh,debug trying DSS file
14:56:50 ssh,debug DSA key loaded
14:56:50 ssh,debug trying PEM container..
14:56:50 ssh,debug DSA key loaded
14:56:50 ssh,debug transport state: 1 --> 2
14:56:50 ssh,debug new key A => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug 9534 5619 1d95 927d ea3e 2c79 b32d 9f13
14:56:50 ssh,debug
14:56:50 ssh,debug new key B => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug ff94 1495 bccf 5495 d06f 1642 b752 e6d1
14:56:50 ssh,debug
14:56:50 ssh,debug new key C => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug 6e2d 3948 e323 10f4 ef92 f926 bdc3 d7fd
14:56:50 ssh,debug
14:56:50 ssh,debug new key D => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug 0d30 84bb 3cfe 0623 12d6 a960 e259 686d
14:56:50 ssh,debug
14:56:50 ssh,debug new key E => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug 2bad 9718 e353 30e5 fbf5 afe1 544f 08ab
14:56:50 ssh,debug
14:56:50 ssh,debug new key F => offset:0 [0x0]
14:56:50 ssh,debug => size:16 [0x10]
14:56:50 ssh,debug b64b 2b2e b78a 5fb4 cb3c c041 531f 4d37
14:56:50 ssh,debug
14:56:50 ssh,debug authorization service requested
14:56:50 ssh,debug auth req: xxxxxxxx ssh-connection none
14:56:50 ssh,debug getting user password for: xxxxxxx
14:56:50 ssh,debug next auth methods: publickey,password
14:56:50 ssh,debug auth req: xxxxxxxx ssh-connection publickey
14:56:50 ssh,debug auth retry: 1
14:56:50 ssh,debug getting user password for: xxxxxxx
14:56:50 ssh,debug auth req: xxxxxxxx ssh-connection publickey
14:56:50 ssh,debug auth retry: 2
14:56:50 ssh,debug getting user password for: xxxxxxx
14:56:50 ssh,info publickey accepted for user: xxxxxxx
14:56:50 ssh,debug getting user password for: xxxxxxx
14:56:50 ssh,info user xxxxxxx authorized
14:56:50 ssh,debug transport state: 2 --> 3
14:56:50 ssh,debug opening channel 0:0 200000,8000
14:56:50 ssh,error unimplemented: 80 in 4000200
14:56:50 ssh,debug chan req: exec 1
14:56:50 ssh,debug cmd: export
14:56:50 ssh,debug
14:56:50 system,info,account user xxxxx logged in from 212.0.xx.xx via ssh
14:56:50 ssh,debug export
14:56:50 ssh,debug
14:56:50 ssh,debug cmdExec
14:56:50 ssh,debug loop=0x7fbcbf94
PS: BTW, console crash will now be a normal situation? Sorry for offtopic, it is not such critical as ssh for us.
14:42:07 ssh,info connection accepted from: 212.0.xx.xx:36596
14:42:07 ssh,info publickey accepted for user: xxxxxx
14:42:07 ssh,info user xxxxxx authorized
14:42:07 ssh,error unimplemented: 80 in 4000200
14:42:07 system,info,account user xxxxxx logged in from 212.0.xx.xx via ssh
admin@MikroTik-21-1 >
Console has crashed; please log in again.