On Mon, Sep 11, 2006 at 07:31:30PM +0200, Alex Still wrote: > I'm trying to use remote port forwarding, and have had no success making > dropbear listen on all interfaces on the remote host. I've looked at the > archives, and found the recommendation to use the -a switch, but that > doesn't seem to do the trick for me. > > ive tried these syntax on the client side (openssh) > ssh -R 2000::3000 [EMAIL PROTECTED] > ssh -R 2000:*:3000 ... > ssh -R 2000:<publicNetworkIP>:3000 > ssh -R 2000:localhost:3000 ..
The syntax is "ssh -R port:host:hostport [EMAIL PROTECTED]" which will forward "port" listening on "hostname" to "host:hostport" via your local ssh-running machine (so 'localhost' means the machine you're currently running on, and the first two make no sense). What are you trying to forward to/from? Running with -a should make the Dropbear server listen on any interface. If you run netstat -antp|grep LISTEN (or similar for your OS) what port does it show it listening on? Matt
