Re: Forwarding of SSH and FTP (22 and 21)
- From: per@xxxxxxxxxxxx (Per Hedeland)
- Date: Sun, 18 Mar 2007 23:55:17 +0000 (UTC)
In article <1174232788.108140.81850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> "JsD"
<JPyObjCDude@xxxxxxxxx> writes:
Since my remote server is using PKI auth, it is difficult for me to
duplicate outside of Putty for the main connection. However, after I
start up initial PUTTY connection, "netstat -an | grep 51022" returns
51022 LISTENING. I am using Cygwin OpenSSH to do my ssh test
connection to 51022.
To simplify my testcase I have done the following:
:: Create Initial Connection ::
$ssh -L51022:192.168.69.7:22 <username>@192.168.69.7
(... where 192.168.69.7 is my local machines IP address )
:: netstat to verify ::
$netstat -an | grep 51022
TCP 127.0.0.1:51022 0.0.0.0:0 LISTENING
:: From another cygwin session try ssh to 51022 ::
$ ssh -v <username>@127.0.0.1:51022
Please read the man page - then try
ssh -p 51022 <username>@127.0.0.1
instead. (Assuming OpenSSH.)
--Per Hedeland
per@xxxxxxxxxxxx
.
- References:
- Forwarding of SSH and FTP (22 and 21)
- From: JsD
- Re: Forwarding of SSH and FTP (22 and 21)
- From: JsD
- Re: Forwarding of SSH and FTP (22 and 21)
- From: Todd H.
- Re: Forwarding of SSH and FTP (22 and 21)
- From: JsD
- Forwarding of SSH and FTP (22 and 21)
- Prev by Date: Re: Forwarding of SSH and FTP (22 and 21)
- Next by Date: Re: Forwarding of SSH and FTP (22 and 21)
- Previous by thread: Re: Forwarding of SSH and FTP (22 and 21)
- Next by thread: Re: Forwarding of SSH and FTP (22 and 21)
- Index(es):