SSH Port Change

Brian Platt brianplatt at hotmail.com
Tue Jan 27 20:51:51 GMT 2004


Thanks very much ;) how easy it is to forget the simple things sometimes ha


>From: Matthew Seaman <m.seaman at infracaninophile.co.uk>
>To: Brian Platt <brianplatt at hotmail.com>
>CC: freebsd-users at freebsd-uk.eu.org
>Subject: Re: SSH Port Change
>Date: Tue, 27 Jan 2004 19:29:22 +0000
>
>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 
>know
> > 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
>
>--
>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
><< attach3 >>

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger





More information about the Ukfreebsd mailing list