Re: ssh behind gateway



On Jul 30, 6:57 pm, Ignoramus7725 <ignoramus7...@xxxxxxxxxxxxxxxxxxx>
wrote:
you can ssh from inside the firewall to your other machine, and set up
port forwarding.

I searched for "port forwarding" and found some hints. But there is an
error "ssh: node: no address associated with name"

local:$ ssh -L7777:user@xxxxxxxxxxxx:22 user@gateway

At this point the terminal shows I am inside gateway.

I open up another terminal window on local and check:
$ netstat -an | grep 7777
TCP 127.0.0.1:7777 0.0.0.0:0 LISTENING

Then I do (on local machine):
$ ssh -p7777 user@xxxxxxxxxxxx
ssh: node.gateway: no address associated with name

I find it strange that for the first command, no matter what address I
put to forward (BADnodeaddress.gateway), ssh doesn't complain.

Jonathan Shan

.



Relevant Pages

  • Re: Port Forwarding over Unreliable Connections
    ... >I make extensive use of ssh port forwarding to access machines behind ... >patiently wait a long time before finally snipping the connection. ... two separate TCP connections when you do port forwarding, ...
    (comp.security.ssh)
  • SSH Tunneling and TCP_NODELAY
    ... I am using SSH port forwarding on a linux sshd from the Cygwin ssh. ... tunneling, as I have been using many port forwards (server ... If port forwarding is NOT used, the control stream is working well. ...
    (comp.security.ssh)
  • Re: port forwarding with ssh on linux
    ... Try using the -D portnumber option to do dynamic port forwarding emulating ... Then just point your web browser at the port declaring it a socks proxy ... On windows I use the teraterm pro ssh client. ...
    (comp.security.ssh)
  • ssh port forwarding to web pages.
    ... I am attempting to set port forwarding to a web page on my company ... I am using PuTTY to ssh to the companies external facing ssh server ... The web page is on another server on the intranet. ...
    (comp.security.ssh)
  • Re: Connecting to MySQL on a Linux box from Borland JBuilder Foundation X
    ... I assume your client is running on a Windows box? ... You can set up an ssh ... port forwarding solution using, for example, PuTTY (a freely available ssh ... You would run PuTTY on your client machine, ...
    (comp.lang.java.databases)