Community discussions

MikroTik App
 
Brendon
just joined
Topic Author
Posts: 3
Joined: Thu Sep 12, 2019 5:52 pm

Passwordless SSH from MikroTik to Linux console

Thu Sep 12, 2019 6:01 pm

Hi,

is it possible to connect from mikrotik terminal/script to linux server with RSA priv/pub keys?
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1092
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: Passwordless SSH from MikroTik to Linux console

Fri Sep 13, 2019 2:02 pm

Yes, you need to import an SSH key pair: Manual:System/SSH client - Log-in using certificate
 
Brendon
just joined
Topic Author
Posts: 3
Joined: Thu Sep 12, 2019 5:52 pm

Re: Passwordless SSH from MikroTik to Linux console

Sat Sep 14, 2019 6:29 pm

Ah, it work. Certificates have to be created with
ssh-keygen -t rsa -m PEM ...
(found one of your posts).
Thank you.