Hi, 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. I tried putting remote port forwarding rule at machine, ipaddr as below for first request, ssh -R 22:localhost:2035 root@localhost >From external source, from my laptop: ssh username@ipaddr still not work, Please suggest are there ways to add redirections differentiating ssh, scp . Regards, Grover _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev