I've had my phone (3G jailbroken 2.2.1) for two months and SSH has never worked. There was an OpenSSH upgrade on Cydia a few minutes ago, and I was hoping that would fix it, but it didn't.
Opening MobileTerminal and using the ps command shows that it isn't running, although ssh is turned on in BossPrefs. I've tried to start it manually with /usr/sbin/sshd but it gives "Could not load host key" errors and exits. I've tried ssh-keygen but that doesn't change anything. I've tried this all as root and mobile and I've uninstalled and reinstalled ssh a couple of times.
Anyone have any ideas other than reinstalling the firmware and re-jailbreaking?
Opening MobileTerminal and using the ps command shows that it isn't running, although ssh is turned on in BossPrefs. I've tried to start it manually with /usr/sbin/sshd but it gives "Could not load host key" errors and exits. I've tried ssh-keygen but that doesn't change anything. I've tried this all as root and mobile and I've uninstalled and reinstalled ssh a couple of times.
Anyone have any ideas other than reinstalling the firmware and re-jailbreaking?