Re: Stuck between HyperTerminal and a hard place (minicom)

From: Derek Gottlieb <dgottlie.a.t.crhc.uiuc.edu>
Date: Wed Aug 08 2001 - 21:40:17 EDT

I've got a likely solution to your ssh problem. For some reason, the ssh
ipkg fails to configure properly and does not by default create any host
keys. You can confirm this by looking in /etc/ssh, there should be a
ssh_host_key file or something very similar. Since it likely isn't there,
you need to create at least one before you can connect to the ipaq. To do
so, type the following:

ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N '' (for DSA key)
or
ssh-keygen -f /etc/ssh/ssh_host_key -N '' (for RSA1 key)

Since the version of openssh is fairly old, I don't think it can create
and RSA key for ssh2, but I may be wrong. After this you need to fire up
the sshd again which you can probably do by typing

/etc/init.d/sshd start

or something very similar. If that doesn't work, you can always reboot
the ipaq and it should start sshd on its own now that you have a host key.

There may be some other minor details (tinkering with ssh config files or
something) but I think this'll get you going for the most part. Oh yeah,
you can obviously do all this from HyperTerminal and when you've got ssh
up you can switch back to Linux/PPP. IP Masquerading should be pretty
simple to set up after that.

Derek Gottlieb
dgottlie@crhc.uiuc.edu
Received on Wed Aug 8 18:31:48 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:28 EDT