mikrotik to mikrotik by ssh keys

Hello.
Do you have working configuration to log from mikrotik to mikrotik by ssh protocol without password (use ssh keys, import private ssh keys)

form linux to mikrotik is work good but from mikrotik to mikrotik is dont work

I generate keys on linux by command ssh-keygen -t dsa and import to mikrotik

ROS 6.19 and 6.10 don’t work ssh keys mikrotik to mikrotik
Regards

please follow a correct steps on how to install ssh private key into your router.

Obviously you have imported public key correctly as you can use other host to log in using said key.

now reagarding the private key in RouterOS:

1)upload key pair (pub and private key)
2) head over to /user ssh-keys private menu
3) issue /user ssh-keys private private-key-file=id_dsa public-key-file=id_dsa.pub user=lala


now everything is set up.

1)Log in as user lala
2) use private key for login - /system ssh theotherrouter.sn.mynetname.net user=someuser

and you are done.

note that when installing the public key for a user, you will have to use corresponding private key to log in as that user. So on the other end you have to add the private key for the user that will do the logging in. It is not required to be the same user that pub key was used for.

it work
I dont login as user lala and then try login to remote router

thank you very much

Reg