[ILUG] sshd problem
pete at yerma.org
Mon Apr 19 18:06:01 IST 2004
On Mon, Apr 19, 2004 at 05:57:26PM +0100, Lee Hosty wrote:
> I have a headless Knoppix hd-install upstairs that I access wirelessly. I
> don't use it for much except general playing around. As of yesterday I can
> no longer SSH to it from any of my windows machines. There have been no
> software or hardware changes on any of these machines in the last week or
> so - it just suddenly stopped working. sshd is running. I can ssh out from
> the machine. All machines can ping each other. I've restarted sshd, and
> rebooted to see if that magically changed anything. iptables has no rules
> currently. I can ssh from my windows machines to the other world. Other
> services (samba, slimserver) are working fine.
One of the first things I do when having a problem like this is try to
telnet to the port of the service I'm having trouble with, so in windows
try "telnet knoppix-host-or-ip 22", you should get the something like:
Escape character is '^]'.
SSH-2.0-OpenSSH_3.8p1 Debian 1:3.8p1-2
You should also be looking in /var/log/auth.log to see if you can see
anything. Failing that, try running sshd in debug mode -
"sshd -d -p 2000" on the knoppix box, then use another box to ssh to
port 2000 of the knoppix box.
More information about the ILUG