I've just set up FreeBSD 8.0 and can't login with ssh

Posted by Matt on Server Fault See other posts from Server Fault or by Matt
Published on 2010-03-03T21:23:24Z Indexed on 2010/06/07 5:12 UTC
Read the original article Hit count: 249

Filed under:

/etc/hosts.allow is set to allow any protocol from anywhere.

I can "ssh localhost" and it works.

I simply get "connection refused" from putty on another machine. Any ideas?

Will try to get a copy of the sshd_server.conf file as soon as I can find a flash disk to copy it to, but I thought someone might know what you need to set initially to permit login.

EDIT: I think I can see why it's not working now. If I telnet to the IP address of the server I'm seeing

MGE UPS SYSTEMS SNMP Web/Agent configuration menu. Enter Password:

Doh. Ok, so the IP address is assigned by DHCP, but it seems there is already a device statically assigned to that address. I'll put in a reservation and try again.

ok, sorted now. It was an ip address conflict. Windows DHCP isn't smart enough to check if there is something listening on the address before first assigning it.

© Server Fault or respective owner

Related posts about sshd-config