Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: wolf_core on April 05, 2011, 05:16:25 PM
-
I am trying to use dropbear as a SSH server in TC 3.5 and connecting with it with PuTTY.
When i try to login dropbear ask me a username ad a password, I try with tc, root, nobody with no luck. I try also to add a password to nobody with the command "passwd nobody" but putty tell me that the password is incorrect.
So i try to use the metod listed in the previous post "Setting up SSH server (dropbear) in TC (3.5.1) using PuttyGen" but i can't login with an error "Server refused our key" even if i create .ssh dir (mkdir /home/tc/.ssh) and added authorized_keys files in it.
Any help will be appreciated. Thanks Luca
-
You must set the passwords to tc and root before you can login.
After setting the passwords, you must add
etc/passwd
etc/shadow
etc/dropbear
to /opt/.filetool.lst and do a backup.
-
TY gerald_clark, now my ssh connections works :D .
The only strange thing is that if i start dropbear with /etc/init.d/dropbear start putty say "Network error: connection refused" but if I start droppear from the menu "SystemTools -> Services -> Dropbear" all work fine.
Thanks Luca
-
You probably tried to start it as a normal user, root rights are needed for privileged ports.
-
TY curaga, using the command sudo /etc/init.d/dropbear start all is OK :D.
Thanks Luca