Solved [Solved] Installed OpenSSL/Rsync, Sshd Broke

Hi all,

I'm running FreeBSD 9.2-RELEASE, I haven't had any issues with SSH until today, after installing OpenSSL and rsync, SSH now returns with
Code:
port 22: connection refused
on all attempts to SSH in or use rsync.

What would be the best way to fix this/open up port 22 if it is closed?

Thanks,

Tiy
 
Re: Installed OpenSSL/Rsync, SSHD Broke

Strange, Installing OpenSSL or rsync shouldn't have any affect on ssh. Can you confirm sshd is actually listening correctly on port 22 by running netstat -an |grep 22?
 
Re: Installed OpenSSL/Rsync, SSHD Broke

Very strange, it really shouldn't have any affect at all, you're correct.

Anyway, netstat produces:

Code:
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN

So, it looks like it's listening on the port. Also as far as hosts.allow goes, it's "* any from any".
 
Re: Installed OpenSSL/Rsync, Sshd Broke

No firewall changes? What about a quick sanity check using another tool?

Example: nc -v 10.100.82.1 22
Code:
Connection to 10.100.82.1 22 port [tcp/*] succeeded!
SSH-2.0-OpenSSH_6.6.1_hpn13v11 FreeBSD-20140420
 
Re: Installed OpenSSL/Rsync, Sshd Broke

Does pkg info -ix ssh show that one of the SSH ports has been installed?
 
Re: Installed OpenSSL/Rsync, Sshd Broke

I'm thinking that one of the admins was tinkering with the firewall yesterday and forgot to send out the memo. SSH appears to be working now. Thanks for your help guys!
 
Back
Top