try if this works



所有跟贴·加跟贴·新语丝读书论坛http://www.xys.org/cgi-bin/mainpage.pl

送交者: ANTIS 于 2006-6-15, 12:34:42:

回答: a question about ssh 由 neo6 于 2006-6-15, 11:12:26:

Give it a try like this...

if under linux:

1. edit ~/.ssh/config
Host 127.0.0.1
Port 2044

2.
ssh -L 2044:A:a your_user_name@B

where 2044 is a random local port number that is not used .

Leave the above ssh session running.


Then you should use 127.0.0.1 as the server of your application and use 2044 as its port. I am not familiar with the application you use, but I use this technique to access an internal cvs server and it works.

If under Windows, like using SecureCRT, you can add similar port mappings.

Good luck





所有跟贴:


加跟贴

笔名: 密码(可选项): 注册笔名请按这里

标题:

内容(可选项):

URL(可选项):
URL标题(可选项):
图像(可选项):


所有跟贴·加跟贴·新语丝读书论坛http://www.xys.org/cgi-bin/mainpage.pl