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

2
votes
1answer
1k views

How to tunnel a local port onto a remote server

I have a domain that i bought from DynDNS. I pointed the domain at my ip adress so i can run servers. The problem I have is that I don't live near the server computer... Can I use an ssh tunnel? As I ...
3
votes
4answers
1k views

How can I use SSH to tunnel to a port that's open on the machine I have access to but not open to the outside world?

I currently use SSH to tunnel my internet connection, using ssh -p <port> -ND <local port> <user>@<ip address>, and this works great. However, I'd like to bind a local port to ...
0
votes
2answers
112 views

If I scp a file through an intermediate server, is the file stored temporarily on the server?

For the sake of simplicity (I find it easier to remember names than arbitrary letters), I will dispense with letters and use names to refer to the machines in this scenario. Say I have two machines, ...
3
votes
4answers
5k views

Is there a sshuttle equivalent for windows - ssh tunneling for windows

I have been using sshuttle on my linux desktop for a long time to circumvent the restrictions of vietnamese ISPs. However I wonder if there's a similar easy to use software for windows? Something that ...
2
votes
1answer
1k views

Creating a ssh tunnel to transfer files?

For me, networks are a very "opaque" thing, and even with reading a lot of tutorial about SSH, I do not understand how to create a basic tunnel to transfer my files. The configuration is the ...
2
votes
1answer
925 views

Using a vnc client through ssh tunnel

Laptop(osx-home network)------>Host1(linux-pc-college network)---->Host2(linux-pc-using vncserver on port 5901, can only be accessed from host1) I can access host2 through ssh using: [user@laptop ...
0
votes
1answer
125 views

Knock on a port to get service and version

I'm having difficulty remmebering a certain command I would use in bash that would give information about a port it would 'knock' on. I've used ssh backdoors before so that I can access my home ...
1
vote
1answer
96 views

How do I edit files in the console when connecting to windows 7 via ssh?

I am using tunnelier client and server to connect to a windows machine. I can get in and have access to all of the files on the computer. I have vim installed on that windows machine, but I can't seem ...
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
372 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 ...
1
vote
1answer
465 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
88 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
327 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
595 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
193 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
361 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
900 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
153 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
819 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
833 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
339 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
638 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
676 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
321 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
656 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
163 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
453 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
238 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
809 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
649 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
252 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 ...