New answers tagged


I'm an idiot. I had some wacky iptables rules set up on my server. After clearing all those out, everything works fine. Sorry for the fuss.


try this maybe install brew brew install openssh --with-brewed-openssl --with-keychain-support


I have the same problem. According to my tests, it is not related to the server, instead it has something to do with the client. Either ssh build and configuration, either due to the local network configuration. I've been able to create a tap interface between my laptop and all of my devices but when I tried to tunnel between the devices, only tun ...


Thanks to @Andrew for pointing to ssh-agent. As far as I can see, if one wants to be able to establish the tunnel without having to enter a password each time, the password must be stored or removed. I chose to remove it. For the record, here are some clean-ups based on the comments I got: #!/usr/bin/env bash # Establish tunnel createTunnel() { /usr/...


Use the -N option -N Do not execute a remote command. This is useful for just for- warding ports (protocol version 2 only). Example ssh -fN -L 8999:localhost:6006 host


Firefox is using some specialities of X so it does not work over X11 forwarding out-of-the box. You need to play a bit with switches to firefox binary. Basically specifying X11 display. This works for me: firefox --no-remote --no-xshm or similar.


Looks like you set up a some sort of proxy listening on TCP:3300 port and forwarding all the traffic to your remote Windows PC RDP (remote desktop) port. Then all traffic goes to TCP:3300 will be forwarded to remote Windows PC at RDP port, so you can connect to it with regular RDP client. You'll need to have existing network route to between Windows PC and ...


You can try to use local ports forwarding too, as described here. But I'm afraid that you'll need a VPN service here to achieve that because of two hope SSH tunnel in your case.

Top 50 recent answers are included