I've been fiddling with my C750 (with GPE), trying to get it working so I can test driftnet and R once I get it compiling correctly.
I removed dropbear, and installed openssh and openssh-sftp.
Initially I got an error about libcrypto (is this in the dependencies list?), now I've got it (when I try running sshd on the Z) moaning about not being able to find host keys in /etc/ssh/ssh_host_rsa_key and /etc/ssh/ssh_host_dsa_key.
I ran ssh-keygen (which is a pain itself):
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
No luck, still complains about not being able to find host keys. Do I decided to try copying the output of the above to ~/.ssh/, still no luck.
How's about moving /etc/ssh/ssh_host_?sa_key /etc/ssh/ssh_host_?sa_key.host
and moving the public one into its place /etc/ssh/ssh_host_?sa_key.pub /etc/ssh/ssh_host_?sa_key
Now I get an error about the permissions being too open. After going online (busybox's lack of docs has pissed me off in a big way this arvo, as well as the way the Fn key isn't working in rxvt on my C750 - aaaarrrggghhh!!!), I changed them to:
chmod 700 /etc/ssh
chmod og-rwx /etc/ssh/*
and it's gone back to complaining about not being able to find any host keys.
This has pissed me off in a big way (though I'm starting to laugh about it now). If someone can tell me what on earth I should do, I'll submit a patch to openssh in OE (which'll automatically do the keygen and change permissions) so no-one else need suffer my tribulations.
Time for beer I think.
Cheers,
Si