/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.

link|improve this question

63% accept rate
1  
...while you're at it fix the DHCP server not to hand out addresses that are already occupied and/or move your dynamic pool to a safe address range. Having a DHCP'd workstation knock the UPS off the network and set off monitoring alarms will certainly ruin your day! – voretaq7 Mar 3 '10 at 21:49
When you do netstat -an | grep 22, what do you see? Is it just listening on localhost? does it show .22 *.? – MattC Mar 3 '10 at 21:50
1  
Thanks, I found the "conflict detection" feature in Windows DHCP server is turned off by default. – Matt Mar 3 '10 at 22:13
Hmm... wish Windows had a real DHCP server... – Jason Antman Mar 3 '10 at 22:42
feedback

2 Answers

Are you trying to log in as root? FreeBSD won't allow you that by default. You'd have to change PermitRootLogin to Yes in /etc/ssh/sshd_config. Then restart sshd by executing /etc/rc.d/sshd restart.

link|improve this answer
I have permitrootlogin set to yes. But, it actually doesn't get that far. I don't get as far as the login prompt. – Matt Mar 3 '10 at 21:43
feedback

Firewall rules? Anything in the system logs?

Routing issues? Can the host attempting to ssh ping? Should it be able to? Can it open a different tcp socket?

link|improve this answer
No firewall configured/enabled. Nothing in system logs. – Matt Mar 3 '10 at 21:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.