SSH - what I am doing wrong?

Hi,

I want to connect via R1 to R2 (ROSv7.14.3 to ROSv7.14.3).
After watching this video: https://www.youtube.com/watch?v=8tt7fSvdFRM

I did the follwoing:

R1:

  • created user ssh
  • gave user ssh “full” rights
  • IP->SSH->Export Host Key
  • System->Users->SSH Private Keys->imported the ssh_rsa.pem-file
    R2.jpg
    R2:
  • created user ssh
  • gave user ssh “full” rights
  • System->Users->SSH Keys->imported the ssh_rsa.pem.pub-file (copied the file from R1, after “Export Host Key” there)
    R1.jpg

If I want to connect from R1 to R2 (10.88.20.3 is R2) via:
/system ssh address=10.88.20.3 user=ssh
password.jpg
I get a password promt.
I have set a password for the ssh-user on both R1 and R2 too, but the password is not accepted and “password” is dispalyed again… What did I wrong?

Found the problem, “password” in this case refers to the LOCAL “ssh”-user-account.
My session is not made under the ssh-user. But with the option “Always Allow Password Login” disabled (= default setting), MT prevents here to enter the password they demand itself…

Advise, use for for ssh-connections the user you work and do the scripting (owner of script eg.). NOT a dedicated “ssh-user”.


Thanks to MT for wasting again a few hours of my lifetime, because …

…you did something wrong. Your explanation why it didn’t work is nonsense.