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
141 views

ppp0 to eth0 SSH tunnel routing

I have Debian based ARM board on which I have Ethernet controller eth0 with static IP 192.168.1.10 and 3G usb modem connected to the internet (ppp0). Ethernet controller is connected directly to other ...
1
vote
0answers
424 views

Permanent outgoing SSH tunnel with TomatoUSB

I use SSH tunnel(s) from computers in my home to a remote server, in order to have secure connections and appear to be where I'm not (I live in Europe but want to access Netflix for example). The ...
1
vote
1answer
245 views

SSH tunneling commands for better security and privacy

i have a centos 6 VPS. I use ssh -p 443 -D 8080 -f -C -N root@ip on mac terminal for SSH tunneling but with wireshark when i sniff my traffic i can see DNS requests are not encrypted ! (i use ...
1
vote
0answers
288 views

trying to remote in to work computer via an ssh tunnel [closed]

Trying to remote into a windows machine from a mac using their instructions: On your home computer, install and open putty (http://www.putty.org/) Enter a name into the Saved Sessions field. Enter ...
2
votes
1answer
368 views

sshuttle analog for mac

We have tried using latest sshuttle on Mac OS X Mountain Lion, but there is a bug which messes with kernel variables and by this breaks internet connection. On the machine where we tried it we had to ...
8
votes
2answers
2k views

Setting up ssh config file with id_rsa through tunnel

I've been struggling to set up a valid configuration to open a connection with a second machine, passing through another one, and using an id_rsa (which requests me a password) to connect to the third ...
1
vote
2answers
276 views

Mac sandboxed application can't access SOCKS5 proxy

OS version: OS X 10.8.2 PAC file path: http://localhost/proxy.pac Target applications: Safari, Tweetbot Example rule in .pac: if (shExpMatch(url, '*domain.com*')) return 'SOCKS5 127.0.0.1:8080'; In ...
0
votes
1answer
133 views

Getting Ubuntu host's GUI on local machine when using X Window

I am tunneling X Window over ssh on my local OSX machine using XQuartz. Now the GUI of course looks different than what I would get when I start programs on ubuntu locally. Is there a way to make my ...
0
votes
1answer
103 views

Tunneling from one unix server to other unix server using ssh

I am trying to connect one Unix server to another. Direct login is possible, but logging in through a tunnel is failing. I'm creating the tunnel connection using: ssh -N -f -L 6002:bsc2:22 ...
0
votes
1answer
394 views

SSH, SVN and firewalls

I have a typical set up where by my SVN server is on a machine behind the firewall and I have a gateway machine which I can SSH into. When outside the network if I want to checkout the repository I ...
5
votes
3answers
420 views

Mount remote drive by port forwarding

I have a windows 7 computer at home and a remote windows XP machine with an external USB drive attached to it. I would like to be able to copy files to and from home/the remote USB drive. The problem ...
1
vote
1answer
1k views

Stop ssh tunnel (stop listening on port without killing process)

In an ssh session, one can start tunneling with the keystrokes ~C and entering (e.g.) -L80:localhost:80. However, is there any way to stop tunneling on that port (short of killing the process)?
2
votes
1answer
754 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
103 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, ...
1
vote
3answers
3k 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
781 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
547 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
106 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
76 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
74 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
686 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
257 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
1k 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
1k 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
432 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
73 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
228 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
455 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
3k 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
74 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
185 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
314 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
2k 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
744 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
142 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
675 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
1k 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
641 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
286 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
539 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 ...
9
votes
2answers
3k 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
583 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
301 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 ...
0
votes
2answers
585 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
157 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 ...