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

8
votes
4answers
4k views

Finding IP or hostname of origin machine (ssh)

I connect to a number of machines constantly, from different physical locations (and thus different physical machines). Most of this is done though ssh, sometimes a gateway machine or two is required ...
1
vote
0answers
289 views

ssh reverse tunneling via putty thru 3 boxes - connection timeout

the three boxes are My laptop ( windows ) A jumpbox ( linux ) The server ( linux ) My web application is running in nodejs port 3000 on the server. I should access the web app in my laptop by ...
1
vote
1answer
443 views

X11Forwarding using SSH and Netcat

From my machine, I must connect through nodes A, B, and C, to reach target: localhost -> A -> B -> C -> target Machine A is configured to refuse X11 Forwarding, so I guess I shouldn't ...
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 ...
1
vote
2answers
408 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 ...
1
vote
1answer
409 views

OpenVpn and SSH tunneling

first of all I'm a linux newbie and just rent my vps few days ago. I'm using this vps for ssh tunneling and web server (apache, php, etc). Today I want to install openvpn but I'm bit confused that if ...
1
vote
1answer
177 views

When I run a java swing app via xwindow over ssh session, is it's classpath my local box or that of the ssh server?

When running java sandbox apps over a cygwin (Moba terminal) ssh xwindows session, is it running on my local machine or is it executing on the server, with just the interface being displayed to my ...
0
votes
0answers
105 views

is using an ssh tunnel adequate protextion when using public wifi?

I am going to be traveling and on my tablet I use an ssh tunnel to browse the internet. Mainly so I can monitor my own traffic and see whay info APS are sending about me. So, will using an ssh tunnel ...
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
71 views

Dynamic Port Forwarding Automation and Which Ports?

I've successfully enabled dynamic port forwarding in my web browser. Now I'd like to go a few steps further if that's at all possible. 1) There is software that monitors network traffic on a ...
2
votes
1answer
202 views

SSH Dynamic Port Forwarding

I've done lots of searching over the past couple of weeks. And I've found a LOT of blog entries and articles on the subject. But invariably they're either just an article talking about the benefits ...
0
votes
1answer
655 views

Ways of recovering a missing .bash_history due to a 100% full disk?

Two Putty sessions were opened to a Debian 6 Linux. Log-files led to a full disk. The bash history of the entire shell sessions is missing, and even beyond that (This may be due to a blocked ...
0
votes
1answer
259 views

Set up SSH access with gogoc service

I'm trying to set up gogoc in order to allow my computer to be accessible via SSH using a Freenet6 Tunnel Broker. Here are the relevant parts of my /etc/gogoc/gogoc.conf: userid=<my_userid> ...
0
votes
1answer
96 views

SSH Tunnel between two VPNs

I have an ssh tunnel from my home router (R) to a VPN (A). Can I setup another tunnel from another VPN (B) to my home router (R) in a way that traffic from VPN A to VPN B will be tunneled? I'm looking ...
23
votes
4answers
20k views

How to make ssh tunnel open to public?

Well refering back to this question i am running the command ssh -R 8080:localhost:80 -N root@website.com on mac. Yet the port that is being tunneled is not working publicly. I am running such a ...
2
votes
2answers
208 views

ssh -D doesn't establish tunnel, it just connect as interactive session. Why?

I am trying to create a SOCKS5 tunnel, but for some reason using -D does not work. Here is an excerpt: laptop:~ localuser$ ssh -D 8080 -p 2222 remoteuser@remotehost.com remoteuser@remotehost.com's ...
2
votes
1answer
224 views

SSH tunnel in Putty says “address already in use” but that's not true

I've configured a putty session from Lubuntu to a VPS on the Internet via a proxy server. The connection to the VPS is correctly established, but the tunnel isn't. This is the tunnel configuration: ...
0
votes
2answers
325 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 ...
2
votes
0answers
350 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
1answer
509 views

Anonying Firewall - Still cannot access banned sites like facebook even via SSH tunnel through SOCKS 5 Proxy

I'm in some un-named country and I connected to my SOCKS 5 Proxy via an SSH Tunnel which is located in the US. I tried to visit facebook via the browser, but it just times out. But when I ping ...
0
votes
2answers
823 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
432 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
427 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
209 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
0answers
3k 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: ...
7
votes
3answers
9k 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 ...
1
vote
0answers
39 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
474 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
744 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
96 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
458 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
527 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
859 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
362 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
1k 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

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
4k 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 ...
1
vote
1answer
153 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 ...
3
votes
2answers
842 views

Keep alive with MyEnTunnel or other SSH-background tunnel app

I'm successfully using MyEnTunnel to forward traffic to a remote SOCKS-server. If I don't use the tunnel for a while the connection seems to turn stale, but doesn't fail, hence the browser waits for ...
1
vote
1answer
190 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 ...
1
vote
0answers
655 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 ...
1
vote
1answer
282 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
422 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 ...
3
votes
1answer
682 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 ...
8
votes
2answers
3k views

Setting up ssh config file with id_rsa through tunnel

I've been struggling to set up a valid configuration to open a connection with a second machine, passing through another one, and using an id_rsa (which requests me a password) to connect to the third ...
1
vote
2answers
534 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
137 views

Getting Ubuntu host's GUI on local machine when using X Window

I am tunneling X Window over ssh on my local OSX machine using XQuartz. Now the GUI of course looks different than what I would get when I start programs on ubuntu locally. Is there a way to make my ...
0
votes
1answer
116 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 ...