SSH Port Change
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Jan 27 19:29:22 GMT 2004
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Jan 27, 2004 at 07:23:36PM +0000, Brian Platt wrote:
> Does anyone know how to change the default port for ssh from 22? i did kn=
ow=20
> how to do it but for the life of me i can't remember now ha!
sshd -p 2222
or you can use the configuration file /etc/sshd/sshd_config:
Port 2222
ListenAddress 192.168.0.1:2222
See sshd(8), sshd_config(5)
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAFrwSdtESqEQa7a0RAuvvAKCWvWX8cvF977mXrnBtHIHFAWPj2gCfcmQI
erRCVIodDqMYkSS1+WzO30c=
=YUk+
-----END PGP SIGNATURE-----
--5vNYLRcllDrimb99--
More information about the Ukfreebsd
mailing list