Hello
I am trying to setup dropbear as a SSH server in TC 3.5.1 and using it with PuTTY on my Windows PC.
Package is installed and running. My problem is all about keys..
Here is what I did :
- insured that /etc/dropbear is cleared
- start dropbear : /etc/init.d/dropear start
This creates default keys in /etc/dropbear/
Back on Windows :
- run PuttyGen
- create a new key (SSH-2 RSA, 1024 bits)
- Save private key as myprivate.ppk
- Export private key as myprivate.openssh
- Copy myprivate.openssh to Tinycore
Back to Tinycore :
- convert myprivate.openssh to dropbear using
dropbearconvert openssh dropbear myprivate.openssh /etc/dropbear/dropbear_rsa_host_key
(thus replacing the existing one in /etc/dropbear/)
- restart dropbear
/etc/init.d/dropbear restart
Trying now to connect with Putty using myprivate.ppk I have no succes :
- Putty opens a dialog saying "No authentification methods available"
- In the Putty window I get "Server refused our key"
I must admit I am very new to this so I probably made a mistake between private or public keys or something like this.
Any help will be appreciated.
Thanks
barbudor
----------------
SOLUTION:
In PuttyGen window, there is a section name "Public key for pasting to OpenSSH..."
Copy this text and paste it into a file name authorized_keys and place this key into /home/tc/.ssh
Thanks to Curaga for his help/
barbudor