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

3
votes
2answers
2k views

vnc via ssh tunnel: channel 3: open failed: connect failed: No route to host

I was used to connect from A to a system B through vnc with ssh tunnel via C. I do the following: In B I start the vncserver: vncserver and let's say I get the :12 In A I open the ssh tunnel: ...
2
votes
1answer
23 views

using an ssh server's tunneling capabilities as a web proxy

With SSH you create a tunnel for a host at a time. With the tools available this is usually a manual process. So if you wanted to do SSH tunneling for, for example, google.com, you'd have to maybe ...
1
vote
0answers
29 views

SSH tunnel freezes and says “administratively prohibited” when a domain cannot be resolved

So I am opening a SSH tunnel to a remote server to use it as proxy: ssh -D 10000 -N remote I use FireFox with FoxyProxy and it is working quite well. Except sometimes the tunnel freezes. A good ...
0
votes
1answer
33 views

Browsing through ssh socks proxy -> through reverse tunnel

I have HostA behind a firewall establishing a reverse ssh tunnel to HostB. I want to setup a proxy on HostB that will forward the connection through the reverse ssh tunnel and out through HostA. I ...
1
vote
0answers
47 views

An error when SSH Tunneling on Linux. I get error of “…bad id: …Received ieof for nonexistent channel”

Whenever I open an SSH tunnel on linux with the ssh command after visiting a few sites over the proxy I get this: channel_by_id: 3: bad id: channel free Disconnecting: Received ieof for nonexistent ...
0
votes
0answers
4 views

Connecting remote H2 embedded database [migrated]

Is there a way to connect to an H2 database, which is running in automatic mixed mode (AUTO_SERVER=TRUE) inside a web application, from another machine over SSH tunnel?
0
votes
1answer
38 views

How to keep an SSH tunnel open in Windows

I use SSH tunneling to connect to a server (Basically IPython notebook instance) to do some computation work. My computations are intense and take need a lot of time to finish. Due to this, most of ...
1
vote
0answers
14 views

Using a tunnel to connect to another PC on my home network

How can I connect to another pc on my home network using a tunnel ? I have an ssh tunnel setup to my PC at home and I use it as an additional level of security when I conect over unencrypted access ...
1
vote
1answer
41 views

Why isn't openssl s_client passing my private key to proxytunnel?

I currently have HAProxy set up on my home PC and I am attempting to access it through a HTTP proxy. Currently I am accessing the SSH logon prompt like so: openssl ...
11
votes
5answers
21k 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 ...
1
vote
1answer
109 views

OpenVPN over SSh port forwarding : can't redirect all trafic through VPN

I'm trying to escape my university wifi network rules with my Macbook (OSX 10.10). The university allows us to use a server, say bastion.univ.com, to mount an ssh port forwarding. I've an OpenVPN ...
0
votes
0answers
27 views

autossh random monitoring port

I have multiple reverse ssh tunnels and I am trying to grab a free random port for monitoring. The forwards work fine and in most cases, when there is a disconnect, it will automatically reconnect. ...
25
votes
7answers
42k 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. ...
2
votes
1answer
347 views

What is the most MTU efficient way of creating a network tunnel?

I am currently using SSH tunneling to connect to the internet via a remote computer using the -D ssh argument. I've recently run across a problem with this solution -- the SSH protocol decreases the ...
0
votes
0answers
32 views

Proxy to allow FTP and SFTP

I need to set up a system that allows FTP and SFTP to LAN users. In my company, we have 2 internet connections: normal one restricted one (provided by the ERP company): proxy that only allows ...
1
vote
2answers
100 views

range of ssh tunnel port

I use ssh tunneling with : ssh -i <my_file> -R *:0:localhost:80 <my_name>@<host>. With the port = 0, the server assign me a port. How does the server choose and how can I config the ...
0
votes
0answers
52 views

Linux session restarts when VNC viewer is closed

I open TightVNC Viewer on Windows and connect to my Linux machine. I am able to connect to the machine and see the login screen. I log in, start a console and launch a command that takes a long time ...
0
votes
0answers
26 views

connecting to Server via Reminna Remote Desktop

I am trying to connect to an ubuntu server via Reminna using RDP. I can connect via the command line with ssh -i privatekey.pem ubuntu@ipaddr But when I try to connect with Remmina using the ...
0
votes
0answers
31 views

Port tunneling from windows machine to Tomcat on AWS for Jvisuamvm

I have an tomcat server running on AWS EC2 instance. To profile my application sitting on this tomcat server, I am trying to use jvisualvm tool provided by JDK. I am taking the help of this tutorial ...
8
votes
3answers
6k 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" ...
0
votes
2answers
61 views

Benefits of tunneling on an unrestricted network for SFTP purposes

If SFTP is already secured with SSH-2 without tunneling enabled, then what additional security benefit does tunneling give for SFTP purposes? Tunneling seems to be useful only as a proxy for SFTP ...
0
votes
1answer
64 views

SFTP without tunneling?

I am using WinSCP 5.5.5, which gives the user the choice of FTP, SFTP, SCP protocols for remote access to website files. I chose to use SFTP. My questions (indicated in bold numbers): 1. My ...
0
votes
1answer
31 views

Restrict access to port forwarding in ssh

Is there a way to restrict access a local port I opened so that only one IP or a range of IPs could access? Example: ssh IP -L 0.0.0.0:25:DESTINATION:25 I opened my local port 25 to another place, ...
1
vote
3answers
220 views

SSH Tunneling in Layman's term

What exactly is SSH tunneling? What is the difference between the terms: SSH Tunneling and Port forwarding? What is the exact difference between different types of SSH tunneling methods? Local ...
0
votes
2answers
68 views

Can my SSH session be detected by sysadmin?

My friend gets faster internet in my university as he has some research scholar facilities.Our sysadmin has made sure this feature can be only accessed by a few machines with a particular MAC ...
0
votes
3answers
47 views

I can ssh out but not in. Reversible?

I have an account on a server inside my corporate network. I also have a VPS from Linode. I can ssh from the corporate server to the Linode VPS or to my home computer with no problems. But thanks to ...
0
votes
2answers
166 views

What is the simplest way to download with wget in remote putty terminal using my local windows internet connection

I'd like to initate a download using wget in a remote putty terminal (i.e. an ubuntu server), but using my local windows internet connection. I guess there is two way to achieve this: run an HTTP ...
0
votes
1answer
115 views

How to share my puTTY SSH tunnel with another computer on LAN

I have SSH running on my home tomato router and connect to it successfully. I'm at a client and want one of my co-workers to be able to access a resource I have there and I tried having him connect ...
0
votes
0answers
32 views

How to configure SSH tunnel with same intermediate/end server?

I have read this question on SuperUser and the SSH section of the Debian handbook, and I am trying to do something similar. But there is a slight complication in that I really only have two servers in ...
0
votes
0answers
36 views

rsync over ssh tunnel: What does this repeated message mean? debug2: channel 2: window 1966080 sent adjust 131072

I'm rsyncing through an SSH tunnel (with ssh -vv). It's not very fast and I'm getting this message about every second: debug2: channel 2: window 1966080 sent adjust 131072 Once in a while I also ...
0
votes
0answers
58 views

tunnel all traffic of a p2p/DHT app through proxy to an external server

I am playing with http://telehash.org/ a protocol using DHT distributed hash tables, all its traffic is sent on a certain port (42424). And I want to do this while in my workplace where a ...
1
vote
1answer
1k views

Warning: remote port forwarding failed for listen port on Centos 6

I have a problem with port forwarding in centos 6, when i do: ssh -v -R root@hostname:19999:localhost:22 root@hotname I get this warning: Warning: remote port forwarding failed for listen port ...
0
votes
0answers
27 views

Set up ssh proxy on windows in the background and on startup

Currently I can tunnel my pc traffic through SSH by setting up a simple ssh proxy connection using CYGWIN like this: ssh -ND 8080 myserver.com but this involves a GUI which I dont really like. In ...
0
votes
1answer
52 views

Port forwarding does not work

I am connecting to office network through VPN. I have two servers A and B. I have ssh/tomcat access to A through VPN but not to B. When I ssh into A, from there I can ssh into B. Also, B is running ...
0
votes
0answers
21 views

Multihop SSH connections not showing up in lastlog

We all know that adding the following to your .ssh/config file will allow seamless ssh hopping through a gateway host: Host *.internal.workdomain.com ProxyCommand ssh gateway.workdomain.com nc %h ...
15
votes
3answers
10k 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 ...
1
vote
1answer
34 views

SSH Tunnel to establish a connection to server “b” through server “a”

I've program "p", which gets data from server "b" and which needs a connection to server "b" at port 23500 to run. the problem is that I've to be in network/server "a" to connect to server "b". So how ...
0
votes
1answer
307 views

SSH tunnel through two servers to access a web service on port 9091

what I have is a "phone-home" service running at remote1 that connects to LAN1 via: ssh -N -R 16864:localhost:22 <myuser.on.lan1>@<lan1.ip> so from the SSH terminal on LAN1 I can easily ...
1
vote
1answer
6k views

ssh tunnel error : channel 3: open failed: connect failed: Connection refused

I'm trying to access and browse internet through a ssh server so in my laptop (ubuntu 12.04) I do this: ssh -D 9999 root@server-ip then in the network proxy in my laptop I set: HTTP proxy ...
0
votes
0answers
17 views

Tunnel RDP through four hosts

Host 1: (Fedora Linux) can access Host 2. Host 2: (Mac OSX 10.9.2) can access Host 3. Host 3: (RHEL) can access Host 4. Host 4: (Windows Server) Where I need to get to. Can anyone recommend a command ...
0
votes
1answer
37 views

ssh tunneling on multi systems

I would like to ssh-forward id_rsa keys from localhost through server 1 to server 2 On the localhost computer I have the id_rsa keys which get added to ssh-agent for forwarding to a remote server. ...
0
votes
1answer
177 views

What's the quickest way to setup a socks proxy tunnel through ssh from Mac OS X?

Very often, I find myself on a network with poor international link or with access to certain websites blocked. I already manage several VPS with much better connection to the outside world, and I'd ...
0
votes
1answer
86 views

Linux Bash SSH - Why won't my port forwarding tunnel command work?

The commands I'm trying are: ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server Where the "x" is masked for security as is the hostname and server, ...
0
votes
0answers
34 views

Debugging through VPN on a VM

My laptop runs Windows 7. I run various Virtual Machines to encapsulate my VPN connectivity and keep client environments separate as much as is convenient. In this case, the virtual machine is Ubuntu ...
0
votes
0answers
133 views

Android SHH tunneling through school Wi-Fi

Ok so I'll try my best to explain the situation at hand here. My school recently got a new web filter that blocks literally, everything. I can't use Google Drive or anything that I need anymore. Our ...
-1
votes
1answer
97 views

Prevent multiple ssh-tunnel to same port and ip

Im creating a few ssh-tunnel connections to a remote system with this command: ssh -R port:localhost:2222 user@ip If this command is now execute multiple times, it will create every time a new ...
0
votes
0answers
356 views

Windows connect to FTP over SSH tunnel

I need to secure connect to my disk in home server from Windows computer where I do not have administrator rights. Windows support FTP and WebDAV. WebDAV support is strange... Windows 7 support only ...
0
votes
1answer
188 views

Remote desktop to server through an intermediate computer

I have access to 3 machines: A(Windows 8, on which I am admin), B(Old Ubuntu distro on which I am root), and C (Server running Ubuntu, on which I am NOT root). I need to remote desktop from A to C. ...
2
votes
0answers
69 views

DNS tunneling through an SSH connection looses connectivity

In the article 'UDP traffic through SSH tunnel', it is described how to tunnel DNS trough a SSH tunnel: client# ssh -N -L 6667:localhost:6667 user@server server# mkfifo /tmp/fifo server# nc -k -l ...
0
votes
1answer
169 views

How to tunnel a port from a server behind a firewall to a remote server that allows connections via ssh?

I have a scenario where I need to open up a port for a server behind an ISP that appears to be blocking traffic. In this case I have a dedicated server remotely that I can ssh into and use whatever ...