IPB

Welcome Guest ( Log In | Register )

> [ssh]反向代理相关命令
猫猫草
post 2010-10-26 22:20:40, Tue
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



代码
ssh -qTfnN -D 7070 remoteuser@remotehost


All the added options are for a ssh session that’s used for tunneling.
-q :- be very quite, we are acting only as a tunnel.
-T :- Do not allocate a pseudo tty, we are only acting a tunnel.
-f :- move the ssh process to background, as we don’t want to interact with this ssh session directly.
-N :- Do not execute remote command.
-n :- redirect standard input to /dev/null.
In addition on a slow line you can gain performance by enabling compression with the -C option.
Go to the top of the page
 
+Quote Post

Posts in this topic
猫猫草   [ssh]反向代理相关命令   2010-10-26 22:20:40, Tue


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-12-24 11:33