An SSH tunnel allows forwarding any traffic over the SSH protocol. This is used to secure the transmission or allow data to be exchanged where network restrictions are in place.

learn more… | top users | synonyms

1
vote
1answer
696 views

SSH tunnel connection refused

I have a remote machine (IP XX.XX.XX.XX) which runs an app written in python/cherrypy which opens a port for http connections on the loopback interface. If I login into the remote machine (using ssh) ...
6
votes
2answers
7k views

How to make remote connection (ssh tunnel) with putty/ssh?

I am trying to make a tunnel between a server and laptop with Putty. The problem is, since the laptop has no public IP adress, I have to make a reverse connection. But I really dont know how to do ...
5
votes
2answers
1k views

All client outbound SSH is being blocked … are there any workarounds?

I want to ssh out of a machine running a client to connect to an SSH remote server. The reason I need this is to port forward/tunnel and get an open connection to an application on the client. The ...
2
votes
2answers
999 views

If I route traffic through a SOCKS proxy, does the remote host do the DNS lookups?

I sometimes route my Web traffic through ssh using a SOCKS proxy. The purpose is to have all traffic be encrypted. The way I do it is to open up a terminal and run this... $ ssh -v -C -N -D 9000 ...
3
votes
2answers
2k views

scp through intermediate server

I need to copy a file from a computer I can only access via SSHing into an intermediate computer. Home -> server.com -> cluster.com I'm trying to copy from cluster.com to home. I can ssh from ...
2
votes
1answer
582 views

Squid3 to use a parent SSH SOCKS proxy?

I would like to have a local squid3 server to use the forwarded parent SOCKS port 9999, and serve local users at local server port 3128 to avoid govt censorship... I have SSH tunnel forwarding a ...
6
votes
1answer
4k views

SSH as socks proxy through multiple hosts

Can the following be achieved with SSH. There are three machines involved: A. My local machine at home B. The SSH gateway server at school C. A workstation in a lab, only reachable through B I ...
4
votes
2answers
4k views

SSH tunnel to home network, and access router web interface

I'm trying to use an ssh tunnel from a remote location to connect to my home network and access the router web interface. I have SSH access to the home network, and I can connect to the gateway ...
1
vote
0answers
133 views

Limiting users/groups to certain ports through SSH, and chroot jail if necessary

I have a private linux box (Ubuntu 10.04) which is running various applications, many of which I access remotely using local forwarding. Now I would like to provide access to a third party, however I ...
2
votes
1answer
811 views

How do I set up an SSH tunnel to connect to a proxy?

I have two machines S and C that are on a local network. The way to access Internet from any machine on the network is to use a web proxy, Squid3 is being used. So I can log in to the proxy from only ...
0
votes
0answers
66 views

Access internet through another machine [duplicate]

Possible Duplicate: How to share Internet Connection in Ubuntu I have two machines, both running Ubuntu. Both the machines are on a local network. I am behind a proxy server and am required ...
5
votes
4answers
243 views

Secure Connection from Insecure Computer

I am going to be traveling out of the country to a pretty questionable area and I would like to be able to access my online banking while I am away. If I were taking my own computer, this wouldn't be ...
1
vote
2answers
3k views

SSH connection between two behind-nat computers through third public-ip computer

I have a computer at home (home-server) that runs irssi, rtorrent etc. My ISP is blocking every traffic from outside (dumb, I know, but it's the only ISP I can have). I want to be able to log in into ...
1
vote
1answer
5k views

Use a Socks5 Proxy in Flash Player

Hello, I'm using PuTTY to create a Socks5 Proxy via SSH. It works great in firefox. But Adobe Flash Player does not seem to use it at all, how can I route my traffic to my server in Flash? I am ...
1
vote
1answer
2k views

Tunnelling from one SSH connection into another one

I have a machine called ic that I can ssh to. There is another machine, fw, that is on a completely different VLAN, and I cannot talk to it. ic is on both my VLAN and the VLAN that fw uses, and so my ...
3
votes
2answers
2k views

connecting to mysql over ssh

All the computers involved are Mac OS X 10.6.x machines. I am on computer A, and have mysql running on it, and can connect to it as A~ $ mysql -u punkish -p database and so on. I have access to ...
10
votes
2answers
1k views

How to determine the port allocated on the server for a dynamically bound openssh reverse tunnel?

When creating reverse tunnels on recent versions of OpenSSH a remote port of 0 can be given to bind any available port: -R [bind_address:]port:host:hostport ... If the port argument is ...
3
votes
3answers
209 views

anonymous browsing

I just watched a video by Eben Moglen about the increasing surveillance of our connected network devices and a lot of what he said rang true. The video can be found here if you're interested. I'm not ...
0
votes
1answer
1k views

Connection to a tunneled MySQL with PHP PDO on Mac Osx Snow Leopard

On Mac OS (snow leopard) I have a SSH tunnel so that my local 3306 port is forwarded to remote MySQL. Apps like Navicat can establish connection successfuly. But PHP's PDO can't connect and gives an ...
0
votes
1answer
336 views

Cygwin: Run SSH.exe (without cygwin.bat) with a keypair

I have a box I'm trying to create an SSH tunnel to using a keypair without a password. If I run cygwin.exe and generate a keypair without a password using ssh-keygen and put the public key on the ...
5
votes
2answers
2k views

Why is my connection via ssh tunneling much slower than other connections to a remote machine?

I rented a small Linux box with an intention to use it as a proxy for netflix etc. When I ssh and run wget my speeds are like 20Mb/s but when I connect with putty and go to speedtest I only get ...
3
votes
4answers
2k views

How to create an SSH tunnel

Ok, here is the setup. I'm outside the local network and connecting to my home network using iSSH (on iPad), so far so good, I used to redirect my home mediacenter to localhost by creating a tunnel . ...
0
votes
2answers
439 views

Does availability of outbound SSH connection means SSH tunnel possible?

At work, my company has lately gone crazy and has started blocking all the sites (Almost all, facebook, gtalk, picasa, hotmail, gmail etc etc). But, I have observed that they allow any outbound SSH ...
2
votes
1answer
194 views

What is the difference between -D and -L in SSH tunneling options?

Besides the fact that -D is a SOCKS proxy which operates through one port, is there any other differences? Specifically, would there be any differences in terms of HTTPS connections?
16
votes
5answers
11k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
0
votes
5answers
3k views

SSH tunnel for VNC not functioning

I am playing with my sexy new Ubuntu 10.04 server I am trying to tunnel x11vnc through SSH to putty. Steps I took (all from my Windows 7 client) open putty (0.60) Enter the server address under ...
1
vote
3answers
2k views

Any way to stream pandora (using desktop app) via encrypted tunnel?

So, here's the deal... I have Pandora One account, and using desktop app (which is written in Adobe Flex) to listen to my stations. Now, all is great, except streaming protocols are getting blocked at ...
0
votes
2answers
833 views

Is it possible to transfer all net traffic through ssh-tunnel

My question is simple: is it possible to transfer all net traffic through an ssh-tunnel such that a user (i.e. me) does not have to change any configuration in the programs (e.g. firefox) accessing ...
14
votes
3answers
11k views

How secure is an SSH tunnel or connection?

I have often advised people to use an SSH tunnel to secure their browsing on open WIFIs or in other insecure situations. I was recently asked by a friend how secure a SSH tunnel is after I had ...
25
votes
7answers
45k views

List open SSH tunnels

I use a lot of SSH tunnels to various servers on my linux machine (for tunnelling to databases, web servers etc) and it would be really handy to view a list of current open tunnels via a shell script. ...
11
votes
5answers
22k views

Automatic SSH tunneling from Windows

I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server. Currently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it ...
0
votes
1answer
833 views

Synchronize Dreamweaver over an SSH tunnel using an SFTP connection

Maybe... Just maybe... I'm asking too much here. Maybe I'm even barking up the wrong tree. I'm looking to essentially have Dreamweaver establish an SSH tunnel to one machine, and then use that ...
5
votes
6answers
8k views

How to tunnel port 25565 through SSH?

I want to play a game which is hosted on port 25565 (minecraft!), but my university firewall does not allow this port. I have a dedicated server running linux not too far from uni, so I think there's ...
0
votes
1answer
518 views

Slow SSH Connection while Internet Browsing

I have a macbook pro and I use SSH tunneling using terminal to bypass proxy. It is been a while that my browsing speed is so slow that showing google's homepage takes up to 10 secs. I wanted to know ...
1
vote
2answers
3k views

How to restart a service each hour, in upstart?

I have an upstart service defined as: /etc/init/sshproxy.conf description "Lenik's secret tunnel thru *.ssh.myserver.com" author "谢继雷 (Lenik)" start on (net-device-up IFACE!=lo) stop on ...
3
votes
1answer
187 views

How do I set up an SSH tunnel to a whitelisted box?

We have a trusted machine which is authorized to connect to a special web service on port 12345, as shown below. The web service whitelists specific clients, and only those IP addresses are allowed to ...
8
votes
4answers
3k views

If I use an SSH tunnel to get around a firewall, what does the sysadmin see?

I use an SSH tunnel for the port my browser uses to access the internet. The result is I get around the firewall my network uses, which prevents me from using many sites I want to use (facebook, ...