tags:

views:

33

answers:

2

How to configure openSSH on ubuntu to listen on a local port, and forward the ssh connection to a remote server, only after the connection has been received. If I use ssh -D or ssh -L, they make the connection immediately to the remote server.

A proper configuration using nc will also be ok.

A: 

Sounds like you want to set up a basic forwarding server. Here's a brief tutorial on Port Forwarding with ssh:

http://www.symantec.com/connect/articles/ssh-port-forwarding

kmarks2