Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: drl on April 01, 2009, 06:25:07 AM

Title: dropbear: RSA seems to change, sftp server not found
Post by: drl on April 01, 2009, 06:25:07 AM
Hi.

I did a quick search, but found nothing on-point for these.

1) The dropbrear ssh server seems to reset the RSA when booted.  This causes problems with clients:
Code: [Select]
...
Offending key in /home/drl/.ssh/known_hosts:44
RSA host key for vm-tinycore has changed and you have requested strict checking.
Host key verification failed.

2) when trying to transfer a file with sftp, after the password is entered, the following is posted:
Code: [Select]
sh: /usr/libexec/sftp-server: not found
Fixes, suggestions are appreciated.  Let me know if you need additional information ... cheers, drl

Code: [Select]
Linux box 2.6.26-tinycore #1 SMP Wed Jul 23 11:20:28 UTC 2008 i686 pentium4 i386 GNU/Linux
Title: Re: dropbear: RSA seems to change, sftp server not found
Post by: ^thehatsrule^ on April 02, 2009, 12:42:55 AM
1) By default, dropbear stores the keys in /etc/dropbear/ (which need to persistent between boots)
See the -d and -r flags should you want to change the locations.

2) Looks like dropbear can use openssh's sftp-server.
Title: Re: dropbear: RSA seems to change, sftp server not found
Post by: drl on April 02, 2009, 06:55:14 AM
Hi.

1) OK, thanks.  I entered the path into /opt/.filetool.lst, and that seemed to solve the RSA generation issue.

2) I don't see openssh-server among the apps, so I'll need to do some more reading to see how to accomplish this.

cheers, drl