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
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 ...
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 ...
1
vote
2answers
289 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
188 views

How to access MATLAB license server vis ssh?

I have MATLAB installed on my laptop which should connect to a certain host that stores license information. I used to be able to use MATLAB anywhere that I had an internet connection. Recently, I ...
1
vote
0answers
441 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 ...
2
votes
0answers
256 views

sshuttle on a DD-WRT / OpenWRT Router

Has anybody had any success installing and running sshuttle on a wireless router? My intent is to have all traffic from all devices (computer, tablet, gaming system, etc.) that connect to the router ...
0
votes
3answers
1k views

Looking for web based SSH frontend to access computers behind SSH-based router

I'm looking for a web-based solution (accessible via the internet) that allows me to establish an SSH connection to computers on my internal network (Linux boxes). I don't want to install custom ...
0
votes
2answers
478 views

Transparent SSH Multi-Hop - Access to network without using shell (Shared connection)

I have a quick question. Apologies if this has been posted already, but I have searched and can't seem to find what I am looking for. I have a localhost , Host 1 and Host 2. The Host 2 machine has ...
1
vote
0answers
313 views

VNC connection over SSH Tunnel with “middleman” server (Windows Viewer to Mac Server)

I NEED HELP! So I have a windows 8 PC (vnc viewer) and a iMac 10.8 Mountain Lion (vnc server) and a middleman server running ubuntu on a DMZ (all ports open). Both computers are behind a firewall ...
0
votes
1answer
285 views

How to connect two computers using SSH tunneling

I have two linux computers in two different institutes. Computer1 is username1 with host1(internal ip 192.168.1.115) connected to server1(public ip 59.162.19.43). Second Computer2 is username2 with ...
0
votes
1answer
121 views

mysql and ssh tunnel

I got some troubles establishing connect to remote database via ssh tunnel. Open ssh tunnel ssh -fNg -L 3307:127.0.0.1:3306 user@remote-host Check it netstat -lep --tcp All OK tcp 0 0 *:3307 ...
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 ...
3
votes
3answers
6k 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. ...
0
votes
0answers
2k views

Running rdesktop via SSH Tunnel causes ERROR: Failed to open display:

I can use rdesktop fine on my Linux Mint (3.2.0-23-generic kernel) system like this : rdesktop IPAddress However, I'd like to run rdesktop through my OpenSSH ssh tunnel. I using the following: ...
0
votes
2answers
777 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 ...
5
votes
3answers
5k views

How can I resume a large scp file transfer when using port forwarding?

I have a machine a couple of hops away, and I need to set up port forwarding in order to transfer files. Edit: To be clear, the multiple hops are needed in order to access the remote machine. From ...
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 ...
1
vote
0answers
34 views

Is there a way to route all WIFI traffic through an SSH tunnel to the internet? [duplicate]

I would like to secure all wireless traffic on my local network with ssh. Tablet/Smartphone/Computer/etc ==> WIFI Router ==> SSH TUNNEL ==> Internet Are there routers capable of this?
6
votes
2answers
319 views

How to connect to a SSH session that was backgrounded with -f -N?

I'm doing some work where I need to pivot off a machine using proxychains so I'm connecting to a system and binding a local port like so... ssh -f -N -D 9000 user@host.com … which returns me back ...
2
votes
1answer
1k views

SSH Tunnel for Samba over SSH Proxy

So I am trying to do something that is relatively simply in theory but my use-case seems to be hard to find since most proxying I find on the internet is in regards to setting up a proxy for your ...
2
votes
1answer
500 views

SSH and FoxyProxy - bringing a browser session from B to A via X

I shall try and be brief. English is my second language, so please forgive the lack of syntactic fluency. I have done lots of researches but could not find a suitable article (perhaps because I am ...
2
votes
0answers
88 views

SSH through a tunnel or directly depending on the network I'm conncted to

Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes? Suppose I'm at my laptop, which I can plug ...
1
vote
0answers
367 views

Remote commands over SSH with Windows PowerShell - Protection against disconnection

I am planning to connect to remote Linux hosts via SSH and call scripts with Windows PowerShell SSH. As far as I understand, if the SSH connection is lost (timeout or connection reset) whilst the ...
1
vote
2answers
395 views

Need to figure out a way for RDP to call back to a local listener on a specified Ephemeral port though a Reverse SSH Tunnel

This relates to a previous question that was getting entirely too long and confusing due to my constant updates and edits and I was told to re ask it. So I am cleaning it up and asking a more direct ...
5
votes
1answer
614 views

How to specify what port RDP responds to?

I need to figure out a way to force RDP(Remote Desktop) to respond to a specific port Instead of a RHP(Random High Port). I am not asking how to change what port RDP "Listens" on, but rather the ...
0
votes
0answers
290 views

How to debug SSH tunneling web server behind LAN?

I am currently trying to access a Redmine server we have at the lab I work in at the university. After some research I found out it was possible to do so through SSH tunneling, and actually got it to ...
1
vote
1answer
917 views

Need help tunneling Remote Desktop (RDP) over SSH using OpenSSH

So heres my set up. The picture isn't "Exact" I have modified it, but it gives you an idea. The tools I am using are: PUTTY OpenSSH CYGWIN Remote Desktop VMware vCenter Server Version 5.1.0 ...
1
vote
1answer
656 views

TightVNC and SSH

Lets assume this state (imageshack image) of network. I want to SSH-tunnel connection between VNC clients and VNC servers. Both PC1 and PC2 runs TightVNC server and SSH server and have allowed ...
1
vote
1answer
2k views

Cannot successfully configure OpenSSH via CYGWIN in Windows 2008

I need help configuring OpenSSH on Win2008 via CYGWIN! THANKS in advance! I am trying to configure an OpenSSH server on Windows Server 2008 Datacenter via CYGWIN. I have installed and configured ...
0
votes
1answer
133 views

SSH Tunnelling troubleshooting

I am using git bash on my windows computer. I am trying to set up an SSH tunnel so I can access databases within MySQL Query Browser. The following works: > ssh root@staging This uses my public ...
1
vote
1answer
143 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 ...
2
votes
1answer
383 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 ...
1
vote
1answer
250 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
295 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 ...
0
votes
1answer
105 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
423 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 ...
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)?
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, ...
2
votes
1answer
790 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 ...
10
votes
5answers
18k 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 ...
2
votes
1answer
804 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 ...
0
votes
1answer
268 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 ...
2
votes
1answer
571 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 ...
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 ...
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 ...
3
votes
1answer
76 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 ...
1
vote
2answers
732 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
437 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 ...