SRX Services Gateway
Posts: 12
Registered: ‎04-30-2009

Binding SSH to non standard port

Hi folks,


I have been easily able to see where we change the port binding for HTTP and HTTPS.


I need to change the ports the ssh service binds to for customer policy reasons.


I can find no doco on how to do this.


Is there a way to do it?





Distinguished Expert
Posts: 487
Registered: ‎06-30-2009

Re: Binding SSH to non standard port



there is no supported way to do that under Junos "service ssh" hierarchy. However, you can do that by editing ssh conf files directly under UNIX (which is not supported!). As possible solution you could do Destination NAT (never tried by myself).


If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it. 


Kind Regards

Michael Pergament

Copyright© 1999-2015 Juniper Networks, Inc. All rights reserved.