sshd basics

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: sshd basics
On Mon, 5 May 2003, eric wrote:

> But I cannot connect to the machine. Even from within the machine, ssh -l
> root localhost says the connection is refused. When I try to connect
> remotely, the SSH client does not ask me to accept and save the key. I used
> to know how to configure an ssh server but I have been out of the scene for
> a while. Can anyone help me out on this one?


On the server run sshd at a different port and with debugging on, like
"sshd -d -p 2200".

And then connect to it like "ssh -p 2200 -v "

The server-side debugging should let you know what the problem is (if it
even reaches it).

(Also, see PermitRootLogin.)

Jeremy C. Reed
http://bsd.reedmedia.net/