if you are remote to the machine you might want to keep the current connection open and add an additional port (not replace it until you can confirm it's up and running). Locking yourself out is not fun (I change my port always too)
George ----- Original Message ----- From: "Erik Espinoza" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 25, 2006 1:14 PM Subject: Re: [qmailtoaster] toaster ssh service on a different port Yes, you will need to add 2392 to firewall.sh where it currently says port 22 On 1/25/06, Alex <[EMAIL PROTECTED]> wrote: > > On centos 4.2 qmailtoaster server I would like to move ssh to a > different port. Do I need to add/edit firewall.sh and rerun it. So far I > changed > > /etc/ssh/sshd_config > /ets/services > > Port 2392 > > Then "service sshd restart", when I look at netstat -nl, the server is > listening on 2392, but remotely I can not connect to ssh on that port > and I cant connect on 22. Only localhost connection will work on 2392 > from the same machine. > > Thanks > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
