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

0
votes
0answers
9 views

Route all traffic via established (preferably SSH) tunnel

In our company we are using some kind of VPN to access our internal network. The Procedure is following (this works only on company's notebook with installed all security features): 1. Open web ...
3
votes
3answers
3k views

VNC via SSH tunnel: channel 3: open failed: connect failed: No route to host

I 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: ssh ...
0
votes
0answers
8 views

Rsync over intermediate computer with autossh tunnel

I have two laptops with dynamic IP and I am trying to copy directly from one to the other. Lets call them, worklaptop, homelaptop, workserver Worklaptop has a perminant tunnel to workserver by way of ...
0
votes
1answer
24 views

slow internet access when routing via a server (both using iptables NAT and ssh tunnelling)

I have a spare computer powered by a dual core intel atom N550 CPU and 2GB RAM (I will refer this as "the server"). It is running lubuntu 14.10 x86 (32 bit) with lightdm service disabled (hence, no ...
1
vote
1answer
157 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
1answer
30 views

Translate ssh tunneling command to Bitvise settings

With the help of an expert, I have set up a ssh tunnel. The sever side is all set up (I own the sever), and I can use the following command the set up the client side (on Mac/Linux): ssh -f ...
0
votes
0answers
23 views

How to create reverse dynamic ssh port forwarding

I'm trying to set up an ssh tunnel layout where: client A (not ssh-server enabled) initiates ssh connection to server S socks server is opened on server S:yyyy that tunnels all data via client A ...
0
votes
0answers
19 views

UDP tunneling over SSH does not work

I want to have UDP tunneling port:1812 (radius accounting ) over SSH. I use CentOS (radius server) and open-wrt (radius client). I did the same commands as follows but still it doen't forward ...
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 ...
14
votes
3answers
11k 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 ...
0
votes
0answers
123 views

VNC over Reverse SSH Tunnel or VPN?

Okay so I'm fairly new to SSH Tunneling, VPN, VNC, all that good stuff. *NOOB ALERT* I recently bought a Raspberry Pi and I loaded the Raspberry Pi release of Kali Linux on it. I have tried all day ...
2
votes
1answer
37 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
146 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
54 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 ...
0
votes
1answer
49 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
23 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
220 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
22k 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
201 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
35 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
45k 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
365 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
37 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
174 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
74 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
34 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
43 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
67 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
90 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
34 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
251 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
81 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
55 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
221 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
143 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
39 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
54 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
71 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
2k 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
30 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
57 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
22 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 ...
1
vote
1answer
35 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
356 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
7k 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
19 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
42 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
236 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
103 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, ...