Hello! On Wed, Dec 13, 2017 at 10:55:03PM +0530, Sudarshan Soma wrote:
> I have the following requirement. > > > -> ssh username@ipaddr > It has to direct the ssh requests to port 2035 on machine with IP , ipaddr > > -> scp username@ipaddr > It has to direct scp requests to port 2036 on machine with IP, ipaddr > > The reason we want this way is , on machine with IP addr ipaddr, we are > listening on 2035 for giving custom login shell. > on port 2036, we provide scp transfers. > > For this to work, Can Nginx run on port 22 on machine, ipaddr and add a > rule to redirect to different ports based on protocol (ssh or scp) This is a mailing list for nginx developers. For user-level questions, please use the nginx@ mailing list instead. See http://nginx.org/en/support.html for details. Thank you. -- Maxim Dounin http://mdounin.ru/ _______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
