ssh: port 22: connection refuused

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu May 6 18:22:19 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/05/2010 18:32:18, Tim Daneliuk wrote:
> 3) If you're running a firewall, make sure that the sshd ports
>    (22/tcp and 22/udp) are open for those machines/addresses
>    you want to connect into your FreeBSD box.

Despite what it may say in /etc/services, ssh doesn't use UDP.  It's
purely TCP based.  (No idea why /etc/services usually lists both TCP and
UDP port numbers for services that are pure TCP.  It was probably
something that seemed to be a good idea at the time.)

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvjCNMACgkQ8Mjk52CukIybqwCfchTs9102F56SnZcqj54daL/1
pqsAnR+hWeJNDMUfNQfdAYxED3xjjdhG
=eTao
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list