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
20 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
4 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
6 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
11 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 ...
7
votes
3answers
5k 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
25 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
35 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
21 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, ...
25
votes
6answers
37k 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. ...
1
vote
3answers
153 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
46 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
34 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
44 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
38 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
23 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
17 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
37 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 ...
0
votes
1answer
184 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
20 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
37 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
12 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
9k 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
31 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
129 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 ...
0
votes
1answer
5k 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
16 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
26 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
88 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
51 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
31 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
72 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
68 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
173 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
134 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
54 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
139 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 ...
0
votes
2answers
99 views

Can Putty establish a gateway to the SSH remote server?

My desktop home computer (see the image below) connects via SSH to the Office Server (via internet, of course). I connect to that server from my home desktop (running Linux) by using the OpenSSH ...
0
votes
3answers
209 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 ...
0
votes
1answer
44 views

Setup ssh tunnel to access FTP on a remote server

I have an FTP server which is only accessible from 1 cloud machine (limited by IP). Is it possible to create an SSH tunnel between my home computer and the cloud machine so I can access the FTP ...
0
votes
2answers
64 views

Work is blocking an SSH connection, what is the easiest workaround?

My work laptop/network is blocking an SSH connection (that I can make with my cellphone so I know it's valid)? What is the easiest away around it? I'm fine with a small fee to reroute or whatever. ...
0
votes
1answer
723 views

Route teamviewer desktop client through SSH tunnel in PuTTY?

I'm trying to route the TeamViewer desktop client through an SSH tunnel I've made using a home server (with DD-WRT) and PuTTY on my end. In PuTTY, I chose port 1080 to Dynamic range, so it works fine ...
15
votes
5answers
10k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
0
votes
0answers
39 views

Cannot port through CISCO router

I am running Windows Vista, and using RealVNC viewer to try and ssh tunnel into a server. Furthermore, I am running the VNCviewer on my laptop (which I normally do not bring to work). I keep getting ...
1
vote
1answer
130 views

Use an SSH Tunnel to access a webapp on a phone through a middle-man

tl;dr: A -> B and C -> B works. How to get A->C to work? I have 3 hosts A. A local machine B. A middle-man C. A phone with a webapp running on port 333 Both A and C can SSH into B. So, A->B and ...
2
votes
1answer
276 views

How can I mosh over multiple hops (for example, via tunnel or ProxyCommand)?

I have a system that I can only access via multiple ssh logins. I recently found out about using ProxyCommand or SSH tunnels to make the connection transparently. Is it possible to mosh instead, and ...
0
votes
0answers
32 views

Is it possible to establish full VPN between 2 windows machines using ssh tunneling

Okay, I have asked this question in a different way Here but I am confused and wanted to ask it in a different way: Is it possible to establish a VPN connection between two windows machines using no ...
0
votes
1answer
249 views

Unable to SSH to one server but able to ssh to amazon ec2

I am behind a firewall which restricts access to Internet and the only way we are allowed to access the Internet is via a proxy service via port 8080. Now, I am using corkscrew and it is allowing me ...
0
votes
1answer
111 views

Is possible to compress ALL the web browsing using a ssh tunnel or similar?

I have a machine with a fast connection to internet in point A (Let's say 10MB). In point B I have a machine with slow internet (let's say 1/2 MB). Is possible to use a ssh tunnel that run in point ...
0
votes
1answer
158 views

Restrict SSH server tunneling port

I have a SSH server running OpenSSH. I want to use it to setup a SOCKS server so that my friends in China can use it to access websites such as twitter. I want to enforce two restrictions: 1. no shell ...
0
votes
1answer
41 views

ssh tunnel not working for external addresses

I am at a client site and they block some addresses so I am trying to use ssh to tunnel through my company's server. The tunnel works for intranet sites, but it fails but failing for pubic sites. ...