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

6
votes
2answers
2k views

SSH Tunnel doesn't work in China

Last year I was working in China for a few months. I never bothered setting up a real VPN, but just created a SSH tunnel, and changed my browsers proxy settings to connect through it. Everything ...
3
votes
1answer
79 views

SCP files to a server in LAN from WAN

I need to SCP a bunch of files from my local machine to a machine in a LAN via a machine with a public ip. Like this: my machine -> machine with public IP (XXX.XXX.XXX.XXX) -> machine with private ...
0
votes
2answers
2k views

Trying to Set Up SSH Tunneling To MySQL Server for MySQL Query Browser

I'm trying to set up SSH tunneling on a remote web server to another MySQL server so that the database can be browsed easily with MySQL Query Browser. I'm following this page but cannot connect to the ...
1
vote
2answers
1k views

Internet through SSH +proxy

I have a server which is connected to the Internet through a proxy and another PC, without internet connection but with access to this server through SSH. And what is needed - connect the PC to the ...
0
votes
1answer
368 views

Tunneling through SSH for 1521 port access?

I am developing locally on my computer, using my own Apache server with PHP configured. My database however is remotely located on an Oracle 11g Database Server. We were also given a separate remote ...
3
votes
2answers
2k views

Using WinSCP with SSH server and 2 machine hops

I'm on a windows machine using putty to ssh into my schools server. From there I need to "slogin -XY machine1" and then "slogin -XY machine2" . Ideally, I'd like to use WinSCP to connect and ...
1
vote
2answers
2k views

Reverse sshfs tunnel

Hey I want to setup a reverse sshfs tunnel. I have a home server which sits behind some type of NAT which makes it impossible for a remote computer to sshfs the home file system. On the local computer ...
0
votes
1answer
461 views

How can I ssh into my home computer from the internet?

Is there software that will help me to ssh/connect to my home computer from the public internet? (Say, a coffee shop). I understand that questions similar to this have been asked, but none seem to ...
0
votes
2answers
83 views

tunneling ssh authorization

Do I need to have a private key on the interim server pc2? I want to connect to pc3 through pc2 without any possibility for pc2 to intercept or forge traffic from pc1 to pc3. I am on pc1. There is ...
2
votes
1answer
320 views

Mount a filesystem (using FUSE) with SSH through two computers [duplicate]

Possible Duplicate: How to mount remote SSHFS via intermediate machine? Tunneling? I can mount a filesystem over SSH directly with $ sshfs hostname: mountpoint However, in order to ...
2
votes
1answer
576 views

Linux Subversion configuration file

I've moved my SVN repo from one host to another. The new host requires I commit by using svn+ssh:// instead of https:// like my previous host did. One issue I can't escape is no matter what I do I ...
4
votes
3answers
5k views

How do I SCP a file through an intermediate server?

I'm using Ccygwin on WinXP (with the bash shell). I want to SCP a file from my localhost to a remote machine -- host2. However, I can only SSH to an intermediate machine -- host1, and then from ...
1
vote
2answers
77 views

Ssh tuneling and logging

I have access with ssh to server. If i use it as tunnel for bypass local firewall, how can my actions can be logged in server? Does it safety for me, and is secure for me, if other people have access ...
1
vote
0answers
190 views

Tunnel router's outbound traffic through ssh?

Not looking for VPN. Trying to bypass traffic counter by tunneling to a m/c (non-restricted non-counted with no root access). Currently I am doing a tunnel(via sshuttle/tunnelier) for every client on ...
0
votes
1answer
354 views

Complicated use of VPS to access internal system, using SSH tunnels

I am not exactly sure what the best solution would be for this problem, but I have a VPS with 3 ips. I have a unix system behind a home router with no ports forwarded. I want to be able to access ...
0
votes
3answers
3k views

ssh into a remote server and use its internet connection in Chrome

I believe this is called connection tunneling? or proxy? I want to use the internet connection of a remote server, is it possible? with Chrome or Firefox + ssh? How would I do that? S.
-1
votes
1answer
887 views

How can I use an SSH tunnel for all traffic from a single application, without knowing the ports used?

I have an application that opens connections on dozens of ports, and doesn't provide documentation about which ports it uses. I could use Wireshark or something to capture the traffic and export the ...
0
votes
1answer
152 views

gnu screen losing DISPLAY connection

I ssh tunnel into a remote desktop running Ubuntu via a terminal - and use gnu screen to do my work there. I have enabled X11 forwarding in my ssh config for the use of X11 applications launched from ...
1
vote
1answer
805 views

Putty tunneling to localhost:5900 works in windows, won't bind to localhost in ubuntu 12.04

Putty tunneling to localhost:5900 works in windows, won't bind to localhost in ubuntu 12.04. How can I get it to bind?
1
vote
1answer
55 views

Make a program use other ports

My school network is behind a very strict firewall, and I can't connect my e-mail and other programs. Are there any ways to avoid this problem?
2
votes
1answer
2k views

What's the principle behind OpenSSH subsystems (or command= option)?

In OpenSSH one can declare a subsystem in the configuration file (/etc/ssh/sshd_config) or force a command such as svnserve to be executed by including this in the authorized_keys line for a ...
0
votes
1answer
824 views

ssh port forward

I wanna connect to a group of machines using a specific machine using ssh tunneling. But in all solutions found, I need to specify a entry per machine in my ssh config file. I would like to use a ...
0
votes
1answer
334 views

How do I tunnel SSH through 2 hosts?

I'm working from a network that blocks some high ports which prevents me from SSH'ing into my Windows machine on my home network from my Mac. I normally use the following command to establish a tunnel ...
0
votes
1answer
629 views

“noshell” for ssh proxy users

I like to setup a special ssh user which is only allowed to tunnel web traffice through my server. I do not want to make an open proxy. This brings me to my question: Is there a "noshell" shell for ...
12
votes
2answers
5k views

Differences between ssh -L to -D

I'm trying to understand the differences between ssh -L to -D. Is there anything else except for that -D is SOCKS only? Thanks!
0
votes
2answers
673 views

Web browsing through SSH tunnel gets stuck/clogged

I use tools like Tunnelier to log into my home Tomato router through SSH, and then use it as a proxy for web browsing, tunnel for Remote Desktop/VNC, etc. Most days it works great, but some days ...
2
votes
2answers
318 views

How to do complex port forwarding (sort of)

I have a very different situation. My laptop named A, another machine B(ip-172.16.28.3) with ssh server installed and i have an account on that machine, the third machine C(ip-172.16.24.3) is a proxy ...
1
vote
2answers
653 views

SSH behind proxy ?

What is the best way to SSH to my sever behind company proxy , it seems that 22 port is not opened by default , is there any simple way to do that rather than to install corkscrew ?? When I do : ✗ ...
0
votes
1answer
162 views

ssh to remote host on mac

it looks like a simple case, but I cannot make it work. We have an internal CI (Continous Integration) application running on our internal server (lets say its address it ciserver.com and the ...
5
votes
3answers
2k views

How to script a database migration using an SSH tunnel?

I am trying to create a sync.sh script that coordinates with our less-than-ideal version control for our website. This script will migrate a live copy of the database to our development environment ...
3
votes
2answers
4k views

chrome socks proxy through ssh forwarding timeouts

I'm attempting to forward all traffic through from Google Chrome through a SSH tunnel. When Firefox is configured to use the tunnel, it works. When chrome is launched with the proxy args appended, it ...
0
votes
0answers
451 views

Tunnel my ssh connection to a Linux server via a remote windows server(2003)

I am trying to connect to a linux server from my local windows machine. But the linux server can only be accessed via another windows server machine. So now I am doing: Local windows ...
2
votes
1answer
3k views

How to run a putty ssh tunneling as Windows service?

In Windows XP or above, I may run a shell command putty.exe -load ssh_tunnel to start a ssh session configured as ssh tunneling. I want to ssh tunnel session become available when my computer ...
0
votes
3answers
236 views

Reach computer behind a NAT or Proxy

I have a home PC connected through twoway satellite modem. I cant reach from outside, so after a some research I found a solution which is reverse ssh tunneling. but I have a few question regarding ...
1
vote
1answer
1k views

ssh tunnel via specific interface

Client -ssh-> Server --> Internet Normally I initiate an ssh tunnel with: ssh -D 1337 admin@nas On the server I have two interfaces: eth1 and ppp0. Right now it uses eth1 when tunneling, but ...
3
votes
1answer
805 views

Running into errors reattaching to a GNU screen session that tunnels X over SHH

After tunneling X over an SSH connection using screen on the remote, how can I reattach the screen session from another machine and tunnel X to that other machine? I either get "cannot open display" ...
0
votes
2answers
133 views

How can I `ssh -X host` into a Windows 7 machine and have Windows apps open in Gnome?

How can I ssh -X host into a Windows 7 machine and have Windows apps open in Gnome like they would if I were ssh'ing into another Linux machine?
5
votes
2answers
6k views

Accessing IPv6 addresses through an SSH tunnel

I have a remote Arch Linux server which has IPv6 enabled (through Tunnelbroker, I am able to do ping6 ipv6.google.com successfully) and I want to know if it's possible to use PuTTY on my Windows 7 ...
0
votes
1answer
643 views

ICMP Tunnelling IP vs Tunnelling TCP?

Could someone please explain the difference between tunnelling IP data using ICMP packets and tunnelling TCP data via ICMP? Obviously I know this is going to be something relevant to the different ...
1
vote
1answer
1k views

SSH tunneling along with Tor

I've been reading about Tor and it's benefits regarding anonymity, but I've also researched its problems. If I understand correctly, when I access a website using Tor the packets are secured using 2 ...
1
vote
1answer
249 views

Limit URL's accessible over a SSH Tunnel

I have a server and I want to offer a tunnel through this server to some of my friends. But I want to limit the sites they can access using this tunnel. My plan was to create a user account without ...
3
votes
1answer
1k views

How to keep ssh connection alive?

Sometims I need to keep ssh connection alive for hour or even more. Mysql big dumps or big TAR archives, for example, may require persistent connection for a long period of time. But Iam keep ...
8
votes
3answers
7k views

SSH Reverse socks tunnel

ssh -D can make a socks port at local machine, which pass the traffic to the remote, then to other places. ssh -L port:host:hostport, listen port at local machine, pass the traffic to "host:hostport" ...
1
vote
1answer
252 views

Which SSH config option stops me from SSH'ing through a SSH tunnel?

I am trying to connect directly to a my work computer (work) which is only available via an outside server (outside). So, the network path is: home » outside » work Ideally, this should work: ...
3
votes
3answers
7k views

uTorrent and PuTTY -> How to turn the connection into an active one?

There is an active, and passive mode when we talk about torrent. Passive, is when you can't connect to the peers actively. Active is when your ports are forwarder, and others can connect to you. ...
4
votes
5answers
499 views

Multiple command prompts with one SSH connection?

I have a need to do a lot in vim on a remote server which I need to SSH into. I find that it is best if I can look at multiple documents in multiple windows on my desktop, so to do this I open two or ...
0
votes
1answer
845 views

SSH tunnel over 2 servers

I used the following command to create a tunnel from my system to server1 and from server1 to server2 to have a tunnel from my system to server2 ssh -t -t -L4450:localhost:5590 user1@server1 'ssh -L ...
1
vote
1answer
166 views

How secure SSH dynamic port forwarding?

I'm using SSH's dynamic port forwarding to host a socks proxy on localhost. I'm trying to find out if the connection between my computer and the remote server/destination is secured. Will my ISP or ...
1
vote
1answer
236 views

How do I create a service that directs traffic to an SSH tunnel?

I have the following scenario: A service listening on port 6678 on Computer C Only computer B can access computer C via ssh Computer B is accessible globally I would like to do the following: ...
8
votes
2answers
3k views

An equivalent of ssh port-tunneling for Windows servers?

my home is Linux servers where SSH can always be used to get around a slightly-too-restrictive firewall. At work however, all of the servers we deal with are Windows based. I'm needing to connect to ...