Re: Forwarding of SSH and FTP (22 and 21)
- From: comphelp@xxxxxxxxx (Todd H.)
- Date: 18 Mar 2007 21:05:31 -0500
"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 )
Is there a typo there? You have the forwarding IP hte same as the
server you're initially connecting to.
:: 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
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh_config
ssh: 127.0.0.1:51022: no address associated with name
(same error happens if I ssh to 192.168.69.7)
... "no address associated with name" is the error I am getting in all
attempts whether to my remote server or to my local server as above.
You want
ssh -v -p 51022 username@xxxxxxxxx
SSH is complaining is can't resolve "127.0.0.1:51022" into an
address.
--
Todd H.
http://www.toddh.net/
.
- Follow-Ups:
- References:
- 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
- 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):
Relevant Pages
|
|