送交者: 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