ssh 代理

1、在终端下输入命令:
ssh -qTfnN -D 7070  xxx@x.x.x.x
之后输入SSH密码,如果SSH端口不是22,而是自定义的,则为:
ssh -qTfnN -D 7070 xxx@x.x.x.x -p port
上面的xxx表示SSH账号名,x.x.x.x表示SSH的服务器地址,port表示SSH的端口号,默认为22。

ssh -qTfnN -D 8080  -p 9999 onlybird@ssh.unssh.com

posted @ 2012-07-10 23:17  hello.world  阅读(207)  评论(0编辑  收藏  举报