[j-nsp] Changing SSH port on EX switches, M routers

Thomas Eichhorn te at te3networks.de
Sat Apr 2 09:17:10 EDT 2011


On 02.04.2011 14:22, Chuck Anderson wrote:
> I wonder if you could create an /etc/ssh/sshd_config file and set the
> port number in there...
Not exactly, because the sshd is started by inetd - you can as root
change that file - but you have to ensure it doesn't get changed
by mgd. So a cron script checking for what is in there once an hour
does the trick..

Tom


More information about the juniper-nsp mailing list