[QUOTE=birdman;447025]
Quote Originally Posted by Alankellyeire View Post
Im converting my rsa public key(id.rsa.pub) after transferring it to the vix box using scp. i then run dropbearconvert but get an error
Code:
Error: File does not begin with OpenSSH key header
Error reading key from '/home/root/.ssh/id_dsa.pub'
It needs to be the private key. This is what happens with my pub/priv keys.

Code:
root@et8000:~# dropbearconvert openssh dropbear id_rsa.pub db.rsa
Error: File does not begin with OpenSSH key header
Error reading key from 'id_rsa.pub'
root@et8000:~# dropbearconvert openssh dropbear id_rsa db.rsa
Key is a ssh-rsa key
Wrote key to 'db.rsa'
However - while checking this it occurred to me that this is the host key. the one that a client can check to ensure it's reached the right host (or at least the same host as last time). It's specific to the host, so no point in generating it from your own key (although it does help to back it up so that it remains the same over any re-flash).

So in fact I can't see anywhere that the box saves keys for checking. Indeed - I can slogin to root from an account that knows nothing about any ssh keys at all.

A debug log when I login contains this:
Code:
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentication succeeded (none).
Authenticated to et8000 ([192.168.1.154]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending environment.
Sorry about the misleading info.
Yes I have tried it with the private key and it writes it to the file but any guide I am coming across say it should be the public key. Ok so just to be clear your saying it's not possible at all because dropbear doesn't generate a key? Maybe this is why I'm finding it so hard to find any guides on the matter.