I have created the key pairs on a Linux box and copied the public key to the OpenWRT machine and I can successfully ssh from Linux to OpenWRT with no password required. I’ve done this before for other Linux boxes. No mysteries.
user@ubuntu:~$ ssh root@10.10.1.5 "date"
Thu Mar 8 05:41:46 UTC 2012
Now move on to ROS. I copied the private and public key files to the ROS v5.6 RB450G and ran:
[ap_admin@test_t] > /system ssh 10.10.1.5 user=root
getting empty DSA key
died with signal 11 on Thu Mar 8 05:30:58 2012
Anyone know what I am doing wrong or had success with this? If I remove the private key from the RB, I get the password prompt when I rerun the ssh command, so apparently it is seeing the key and trying to use it, but failing.
Again, this works fine from Linux box => OpenWRT but fails RB => OpenWRT. I’ve also had success from Linux Box => RB.
added entry that if i logged in with user admin i could successfully log in further in SSH capable hosts without any problems if public key was set on the target host for user that was set like this:
/sys ssh 192.168.88.1 user=test
could you create debug logs of the router when you issue ssh to other host (preferable, connect to host using other method but ssh) and see if you have any logs on the target end.