Community discussions

just joined
Topic Author
Posts: 9
Joined: Sat Oct 17, 2009 12:59 am
Reputation: 0

SSH keys not working in 4.1?

Wed Oct 21, 2009 2:32 am

I have uploaded and imported the SSH key for my user (under /user ssh-keys) and this is the result:
[admin@MikroTik] /user> ssh-keys print
 # USER                 KEY-OWNER
 0 jkugler              jkugler@hosanna

These are my users:
[admin@MikroTik] /user> print
Flags: X - disabled
 #   NAME                             GROUP                            ADDRESS
 0   ;;; system default user
     admin                            full                   
 1   ;;; Joshua Kugler
     jkugler                          full                   

However, when I try to login to the router with my key, it prompts for my password:
jkugler@hosanna:~$ ssh -i /home/jkugler/.ssh/id_dsa jkugler@
jkugler@'s password:

And the router says:
echo: system,error,critical login failure for user jkugler from via ssh

The "failure" messages comes *before* I enter my password.

Is there something else I need to enable for SSH logins?


just joined
Posts: 16
Joined: Wed Jul 22, 2009 1:28 am
Reputation: 0

Re: SSH keys not working in 4.1?

Sat Jan 16, 2010 4:04 am

I had similar issue today: ssh-key which I use on a lot of RouterOS system was fail with one RB750G (version v4.4). After investigation I found reason: there was password (of user with this ssh-key) with 32 chars length. After changing password (to 24 chars length) and reimport ssh-key, access with this ssh-key is working as expected.

Who is online

Users browsing this forum: No registered users and 34 guests