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
1answer
18 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
8 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 ...
14
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
23 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
35 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
4k 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
13 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
20 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
43 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
32 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
28 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
43 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
43 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
77 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
96 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
30 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
114 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
56 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
202 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
28 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
54 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
335 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
9k 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
32 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
83 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
122 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
27 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
153 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
49 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
69 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
32 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. ...
4
votes
6answers
7k views

How to tunnel port 25565 through SSH?

I want to play a game which is hosted on port 25565 (minecraft!), but my university firewall does not allow this port. I have a dedicated server running linux not too far from uni, so I think there's ...
0
votes
2answers
55 views

How do I ssh tunnel port forward?

I'm on a Mac and I want to connect to an EC2 instance, then have that EC2 instance connect to a remote server over port 22. So as far as I understand it, I would do something like: sudo ssh -l ...
3
votes
4answers
2k views

How to create an SSH tunnel

Ok, here is the setup. I'm outside the local network and connecting to my home network using iSSH (on iPad), so far so good, I used to redirect my home mediacenter to localhost by creating a tunnel . ...
0
votes
0answers
124 views

iPerf via reverse SSH Tunnel

I'm trying to perform iPerf test between my Android device (rooted Samsung Galaxy S4 LTE) and my external server. Let's say: Site A - Rooted Android device with mobile internet access (behind the ...
0
votes
1answer
31 views

Why my reverse ssh is closing when I try to connect to it?

I'm using a reverse SSH tunnel on Debian with openssh-server and autossh: something like -R 1234:localhost:22 with a monitoring port also set. Generally, it works well, but I'm having the following ...
6
votes
3answers
4k 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
0answers
96 views

Reboot Windows Computer using Putty (SSH)

I am running Putty and am able to SSH into a network (Tomato is running the SSH server). How can I reboot a Windows computer on the network from Putty? What command do I type?
1
vote
2answers
274 views

A way of accessing a remote linux server via SSH anonymously and running a graphic web browser?

I need a way of connecting to a remote server anonymously and running (with further possibility of visual manipulation) a graphical Web Browser (not text-based) - Tor has been chosen for this and ...
23
votes
5answers
34k 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
138 views

How to connect / tunneling to another computer to use it's localhost?

I'am not quite sure how to describe what I really asking for, so i will try: I have two computer A and B. Computer A is my primary computer I'am working on. I'am web developer, and as you may know, ...
3
votes
2answers
2k views

scp through intermediate server

I need to copy a file from a computer I can only access via SSHing into an intermediate computer. Home -> server.com -> cluster.com I'm trying to copy from cluster.com to home. I can ssh from ...
0
votes
1answer
247 views

How do I create an SSH tunnel on a VPS for RDP to Windows host behind restrictive ISP

I have spent several session trying to figure this out, and tried to follow many other posts. But for some reason this is confusing to me and none of the other situations "seem" to apply. What I want ...
0
votes
1answer
220 views

SSH tunnel local port forwarding to Facebook over HTTPS

I successfully establish connection to https sites over SSH Tunnel local port forwarding. But I can not reach to Facebook in the same way. What can be the restriction? The ssh command I use; ssh -L ...
2
votes
3answers
413 views

How to set up SSH tunnel between 2 machines behind 2 different NATs

I have Windows PC behind a NAT/Firewall at home, and a Windows PC behind a NAT/Firewall at work. i.e. Neither PC has a publicly visible IP address. On each of the PCs, I am running a Ubuntu VM on ...
0
votes
0answers
208 views

Exim: sending mail through an SSH tunnel or SOCKS proxy

I am setting up Exim on a Debian box. The box is connected to the internet through a consumer DSL line with a dynamic IP address, so not suitable for sending messages directly. For privacy reasons I ...
0
votes
1answer
413 views

Reverse SSH Tunnel from local ssh server to remote ssh client, forwarding traffic to another server on the client network?

Is this possible? local system w/ ssh server remote client running ssh client connection to (1) target destination on client's (2) network for local (1) traffic When the remote ssh client connects ...
7
votes
4answers
2k views

If I use an SSH tunnel to get around a firewall, what does the sysadmin see?

I use an SSH tunnel for the port my browser uses to access the internet. The result is I get around the firewall my network uses, which prevents me from using many sites I want to use (facebook, ...
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 ...
0
votes
0answers
34 views

Tunneling a license based on smartsniff output?

I use ssh tunneling through putty in windows 7 to connect windows desktops at work and have been able to use ssh-tunneling for a matlab license in the past as well. However, now I had a program ...