Pota Kalima wrote:
On 19/9/04 6:24 pm, "Kevin Stevens" <[EMAIL PROTECTED]> wrote:

On Sep 19, 2004, at 10:17, Pota Kalima wrote:

On 19/9/04 5:56 pm, "Kevin Stevens" <[EMAIL PROTECTED]> wrote:

What happens if you try to ssh to the machine from itself?


Tried to ssh to machine itself and got the following:

$ Ssh
The authenticity of host ' (' can't be
DSA key fingerprint is 42:98:e3:11:
Are you sure you want to continue connecting (yes/no)? Yes
Warning: Permanently added '' (DSA) to the list of known

[There was a prolonged pause here, I almost rebooted the machine]

Sep 19 18:10:00 localhost sshd[581]: fatal: Timeout before
Connection closed by

Well, there you go. Better get it working locally before worrying about connecting from other machines - at least it's easier to troubleshoot that way. You can start adding -v's to your session command to get more details.


Well, here goes,

$ ssh -v
[Rapid scroll of screen load of stuff, and then ...from about half-way down
the screen]
debug1: Host '' is known and matches the DSA host key.
debug1: Found key in /home/pota/.ssh/known_hosts:3
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received
Sep 19 18:29:09 localhost sshd[627]: fatal: Timeout before authentification
Connection closed by
debug1: Calling cleanup 0x804c7a4(0x0)

What is there in /var/log/messages about refused sshd connections?

How are you allowing sshd connection in /etc/hosts.allow ?
If you have made /etc/hosts.allow restrictive, then be sure
there's a line like:
   sshd : ALL : allow
or replace 'ALL' by those you want to access your machine by sshd.


_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to