Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: PingPing on April 28, 2009, 09:31:19 AM

Title: Remote login using dropbear: what am I doing wrong? [SOLVED]
Post by: PingPing on April 28, 2009, 09:31:19 AM
I've got dropbear running on 192.168.3.254 but I can't login:
Code: [Select]
n00b@netbook:~$ ssh tc@192.168.3.254

Secure login powered by Dropbear SSH server.
tc@192.168.3.254's password:
Permission denied, please try again.
tc@192.168.3.254's password:
I'm just hitting RETURN at the password prompt (/etc/shadow suggests tc doesn't have a password).  Obviously I'm doing something really gimp but I can't think what.  Any suggestions?
Title: Re: Remote login using dropbear: what am I doing wrong?
Post by: curaga on April 28, 2009, 10:13:57 AM
It's possible dropbear doesn't allow empty-password logins. What happens if you give user tc a password?
Title: Re: Remote login using dropbear: what am I doing wrong?
Post by: PingPing on April 28, 2009, 10:29:33 AM
Yeah, that works.  Thanks.
How do I make the password change permanent (ie. survive a reboot)?
Title: Re: Remote login using dropbear: what am I doing wrong?
Post by: curaga on April 28, 2009, 11:12:43 AM
By adding /etc/passwd and /etc/shadow to your backup (ie the list at /opt/.filetool.lst)
Title: Re: Remote login using dropbear: what am I doing wrong?
Post by: PingPing on April 28, 2009, 11:30:06 AM
Doh!  **bangs head against wall**

I've done it now and my TCL-powered home webserver is running A-OK.
Thanks for the help!  ;D