Re: Forwarding of SSH and FTP (22 and 21)



"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/
.



Relevant Pages

  • Re: how to map drive via ssh?
    ... I'm assuming that both machines (client and server) are running ... be tunnelled over an SSH connection, ...
    (comp.security.ssh)
  • Re: Secure file sharing without OS X server?
    ... So I poked the GUI a bit - Finder, cmd-K, hit `Browse' in the `Connect ... to server' window, open the required server in the network browser, and ... them says `Allow secure connections using ssh'. ... `Can't make a secure connection to server ...
    (uk.comp.sys.mac)
  • RE: Re: Remote connections
    ... Compliments of Cygwin you can setup a SSH server on ... connection through the SSH connection. ... Aside from creating a VPN tunnel and then performing a Remote Desktop ... Server Terminal Services and XP and 2003 server Remote Desktop machines. ...
    (Focus-Microsoft)
  • Re: What is The SSH?
    ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
    (microsoft.public.windows.server.networking)
  • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
    ... warning: Authentication failed. ... connection lost (Connection closed by remote host.). ... So, as you can see, I am trying to make an ssh connection with the ...
    (comp.os.vms)