Mikrotik SSH client and FreeSSHd server

Hi everybody,
I have a problem to get working ssh client on my MT(6.19) and FreeSSHd server on my WIN7 using private key, because I want to use ssh client over script. The SSHd works fine when I use Putty as client and private key logging (created in PuttyGen - DSA key). But when I copy the public key to the router

[admin@ahoj] > user ssh-keys private import public-key-file=ssh.pub private-key-file=ssh user=ssh
passphrase:
[admin@ahoj] >



private key is created, but when I want to log to my server in, I can not.

[vision-admin@ahoj] > system ssh address=192.168.89.254 port=10000 user=ssh
Welcome back!

Next I tried to create the key using ubuntu OpenSSH, also not working.

I suppose the key is not correct, but I dont know how to successfully create connection.

Thank you for your help.

check if keys are compatible.Sometimes you have to convert key from one notation to another for it to work. properly. Also, it has to be DSA key, no exceptions.

How does Mikrotik format of DSA look?

Could you show me, how right DSA format looks for mikrotik?

it is the same as one used by OpenSSH

completely forgot what it was called, but for example it is not compatible with one used by putty tools.