Community discussions

 
Requium
just joined
Topic Author
Posts: 19
Joined: Fri Jun 29, 2012 4:41 pm

SSH Private Keys DSA

Tue Sep 24, 2013 6:37 am

I have an issue with the SSH private keys in routeros 6.4, im trying to do a login without password to a ubnt-nanostation i have already created the dsa public and private key and copy the public key to the nanostation,i can do the ssh login without password from a linux box, the problem is on the mkt, i have already Imported the DSA private key and the public, but it keep ask me for password, i tried mkt to mkt, and its the same result, i can log in with the linux box but with the mkt ask me a password.

Extract of the debug log:
sep/23 22:33:35 ssh,debug,packet => offset:100 [0x64]
sep/23 22:33:35 ssh,debug,packet => size:64 [0x64]
sep/23 22:33:35 ssh,debug,packet 0000 004c 0e32 0000 0006 4749 542d 3031
sep/23 22:33:35 ssh,debug,packet 0000 000e 7373 682d 636f 6e6e 6563 7469
sep/23 22:33:35 ssh,debug,packet 6f6e 0000 0014 6b65 7962 6f61 7264 2d69
sep/23 22:33:35 ssh,debug,packet 6e74 6572 6163 7469 7665 0000 0000 0000
sep/23 22:33:35 ssh,debug,packet 0000 9c91 fcda 46f7 59dc 3d8e 3f78 4748
sep/23 22:33:35 ssh,debug,packet 7b18 40f1 6b6f 190c 2ede 6606 0f75 2c92
sep/23 22:33:35 ssh,debug,packet 97e5 1cad
sep/23 22:33:35 ssh,debug,packet --------------------
sep/23 22:33:35 ssh,debug,packet ----- recieved -----
sep/23 22:33:35 ssh,debug,packet => offset:44 [0x44]
sep/23 22:33:35 ssh,debug,packet => size:44 [0x44]
sep/23 22:33:35 ssh,debug,packet 0000 002c 1333 0000 0012 7075 626c 6963
sep/23 22:33:35 ssh,debug,packet 6b65 792c 7061 7373 776f 7264 0044 d24f
sep/23 22:33:35 ssh,debug,packet 57f6 f016 41df eacd c7a9 4f07 ed6b d15c
sep/23 22:33:35 ssh,debug,packet a036 c5a5 c111 06de f67b bd56 f8a8 4369
sep/23 22:33:35 ssh,debug,packet a667 a9e3
sep/23 22:33:35 ssh,debug,packet --------------------
sep/23 22:33:35 ssh,debug auth methods: publickey,password
sep/23 22:33:35 ssh,debug doing password authorization
sep/23 22:33:35 ssh,debug,packet packet create: 50


Please, Im kinda desperate with this :S.

BR
Requium
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: SSH Private Keys DSA

Tue Sep 24, 2013 11:42 am

we are working on the ssh client issue.
 
Requium
just joined
Topic Author
Posts: 19
Joined: Fri Jun 29, 2012 4:41 pm

Re: SSH Private Keys DSA

Tue Sep 24, 2013 2:30 pm

Is there any version where it work??, so i can downgrade the mkt?

Thx for the answer.
BR
Requium
 
User avatar
davidnvega
just joined
Posts: 19
Joined: Wed Aug 28, 2013 11:11 pm
Location: San Juan, Argentina
Contact:

Re: SSH Private Keys DSA

Thu Feb 26, 2015 5:01 pm

I have an issue with the SSH private keys in routeros 6.4, im trying to do a login without password to a ubnt-nanostation i have already created the dsa public and private key and copy the public key to the nanostation,i can do the ssh login without password from a linux box, the problem is on the mkt, i have already Imported the DSA private key and the public, but it keep ask me for password, i tried mkt to mkt, and its the same result, i can log in with the linux box but with the mkt ask me a password.

Extract of the debug log:
sep/23 22:33:35 ssh,debug,packet => offset:100 [0x64]
sep/23 22:33:35 ssh,debug,packet => size:64 [0x64]
sep/23 22:33:35 ssh,debug,packet 0000 004c 0e32 0000 0006 4749 542d 3031
sep/23 22:33:35 ssh,debug,packet 0000 000e 7373 682d 636f 6e6e 6563 7469
sep/23 22:33:35 ssh,debug,packet 6f6e 0000 0014 6b65 7962 6f61 7264 2d69
sep/23 22:33:35 ssh,debug,packet 6e74 6572 6163 7469 7665 0000 0000 0000
sep/23 22:33:35 ssh,debug,packet 0000 9c91 fcda 46f7 59dc 3d8e 3f78 4748
sep/23 22:33:35 ssh,debug,packet 7b18 40f1 6b6f 190c 2ede 6606 0f75 2c92
sep/23 22:33:35 ssh,debug,packet 97e5 1cad
sep/23 22:33:35 ssh,debug,packet --------------------
sep/23 22:33:35 ssh,debug,packet ----- recieved -----
sep/23 22:33:35 ssh,debug,packet => offset:44 [0x44]
sep/23 22:33:35 ssh,debug,packet => size:44 [0x44]
sep/23 22:33:35 ssh,debug,packet 0000 002c 1333 0000 0012 7075 626c 6963
sep/23 22:33:35 ssh,debug,packet 6b65 792c 7061 7373 776f 7264 0044 d24f
sep/23 22:33:35 ssh,debug,packet 57f6 f016 41df eacd c7a9 4f07 ed6b d15c
sep/23 22:33:35 ssh,debug,packet a036 c5a5 c111 06de f67b bd56 f8a8 4369
sep/23 22:33:35 ssh,debug,packet a667 a9e3
sep/23 22:33:35 ssh,debug,packet --------------------
sep/23 22:33:35 ssh,debug auth methods: publickey,password
sep/23 22:33:35 ssh,debug doing password authorization
sep/23 22:33:35 ssh,debug,packet packet create: 50


Please, Im kinda desperate with this :S.

BR
Requium

I have the same log debug, i'm trying to connect to a NanoStation, Did you solve it?
Sorry for my English, I speak Spanish.
 
odehneh
just joined
Posts: 12
Joined: Tue Dec 27, 2016 4:30 am

Re: SSH Private Keys DSA

Sat Oct 19, 2019 2:38 pm

Was this case solved?

Omar
-- Omar
 
pe1chl
Forum Guru
Forum Guru
Posts: 5928
Joined: Mon Jun 08, 2015 12:09 pm

Re: SSH Private Keys DSA

Sat Oct 19, 2019 2:59 pm

Well, this topic is so old and DSA has been deprecated for a long time now.
You should simply not use it anymore! Generate RSA key and use that.
 
odehneh
just joined
Posts: 12
Joined: Tue Dec 27, 2016 4:30 am

Re: SSH Private Keys DSA

Sat Oct 19, 2019 5:53 pm

I did that and had the same problem!
I posted a the problem in the forum 2 hrs ago.
-- Omar

Who is online

Users browsing this forum: MSN [Bot] and 86 guests