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) After this, can i do the following from my laptop ssh username@ipaddr // gives me custom login shell scp username@ipaddr // enables scp transfers. Regards, Grover
_______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
