Thank you. PermitRootLogin is set to yes. Using your commands, it looks as though all starts correctly: /etc/init.d/sshd stop Stopping sshd: [OK] [root@localhost /root] sshd -d -p 2200 debug1: Seeding random number generator debug1: sshd version OpenSSH_2.5.2.p2 debug1: load_private_key_autodetect: type 0 RSA1 debug1: read SSH2 private key done: name rsa w/o comment success 1 debug1: load_private_key_autodetect: type 1 RSA debug1: read SSH2 private key done: name dsa w/o comment success 1 debug1: load_private_key_autodetect: type 2 DSA debug1: Bind to port 2200 on 192.168.0.94. Server listening on 192.168.0.94 port 2200. [When I attempted to connect, this was generated.] debug1: Server will not fork when running in debugging mode. [root@localhost /root] BTW, 192.168.0.94 is the right address. What to make of this? > -----Original Message----- > From: plug-discuss-admin@lists.plug.phoenix.az.us > [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Jeremy > C. Reed > Sent: Monday, May 05, 2003 3:06 PM > To: plug-discuss@lists.plug.phoenix.az.us > Subject: Re: 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 user@host.name" > > 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/ > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss