An SSH tunnel provides an encrypted channel based on the SSH protocol.

learn more… | top users | synonyms

0
votes
1answer
33 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
0
votes
1answer
17 views

SSH Tunneling does it multiplex?

I'm writing an application which will be doing something similar to SSH tunnelling (port forwarding and reverse port forwarding). However, SSH will not be involved at all, hence why I'm not using any ...
0
votes
0answers
27 views

Mounting nfs4 partition over ssh tunel

I am following this manual on how to mount an nfs port over an ssh tunnel: https://blogs.oracle.com/shepler/entry/tunneling_nfs_traffic_via_ssh I need this because I want to mount an nfs partition ...
-1
votes
0answers
27 views

SSH Session Hangs - Custom Way of Checking It

So, the hanging of the session is not the issue by itself - I am aware of it, I know its root cause. I am interested in a rather custom solution for checking if the session hangs. I am inspired by ...
1
vote
0answers
29 views

Appearing to be on the same network

I have a user that needs to connect to a machine located on a private network at another facility. Basically 192.168.0.20 -> 192.168.0.1 -> Internet -> 192.168.1.1 -> 192.168.2.1 -> ...
1
vote
2answers
56 views

How do I prevent just 'exit' from being saved when I close an SSH connection?

When searching for a way to do this on Google, all I can find are ways to quit the session without saving history (like kill -9 $$), but I have the opposite problem. I want to save all of my history, ...
1
vote
1answer
46 views

Automating setup of the SSH tunnel

I need to frequently login to many machines but I can only login to them from a proxy machine or using an SSH tunnel (by tunneling through that proxy machine). The problem is that I cannot use ...
2
votes
1answer
59 views

Port forwarding for VPN connection

I'm using a public wifi hotspot. Usually when I connect to these, I immediately connect to my college VPN. On this hotspot, only browsing works (no program other than a browser seems to be able to ...
1
vote
0answers
67 views

Setup SSH tunnel on existing connection from script

I want to establish an SSH tunnel on an existing connection. The tricky part is doing it from a script (a custom shell I need to allow users only some specific things, like setting up this tunnel). ...
1
vote
1answer
25 views

How can I configure Linux to reopen my SSH tunnels after the connection has been restored?

I am currently working with some SSH tunnels configured. Many times when I loose connection to the Internet or hibernate my laptop, I need to reconfigure the tunnels (i.e., do killall ssh and then set ...
0
votes
1answer
168 views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
1
vote
0answers
36 views

UDP Tunnel via SSH Confusion

Overview: I have a software program which communities on UDP port 1046 and I am hoping to hook two computers together. Laptop (Required to ALWAYS have VPN connection) Desktop (Public ip address) ...
1
vote
1answer
45 views

killing tunnels for a user connected with ssh -N

I created a forward only ssh connection with the following: ssh -i id_rsa -o TCPKeepAlive=yes -o ServerAliveInterval=10 \ -N -n -R 127.0.0.12:8888:127.0.0.12:8888 fwduser@192.168.1.201 Mow, ...
0
votes
1answer
41 views

One liner to ssh into a server, specifying an intermediary to tunnel through [duplicate]

At my company, In order to SSH into anything, I first have to SSH into an intermediary server like so: (me@local.machine) ssh intermediary.server.com (me@intermediary.server.com) ssh ...
1
vote
0answers
97 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
10 views

SSH tunneling error: “channel 1016:: open failed: administratively prohibited: open failed” [duplicate]

when I use config file in the /home/username/.ssh/config to connect to localhost with ssh, I get the following results: channel 1016: open failed: administratively prohibited: open failed channel ...
0
votes
1answer
85 views

Logging in through ssh tunnel with rsa key still giving password prompt

I have two laptops (Host A and Host C) with dynamic IP addresses and one desktop (Host B), all of which are running (Ubuntu) Linux. Right now I have things set up so I can access Host A from Host C as ...
0
votes
1answer
34 views

Hop scp and sshfs using ssh tunnels

Here's what I have: A desktop and a laptop both behind a firewall, both of which can connect to an ssh capable server. Here's what I can do: Create a tunnel from server to desktop by running this ...
0
votes
1answer
135 views

How can I use SSH to tunnel Minecraft clients to my MineOS server?

I have a MineOS Turnkey server running on my university's network and its locked behind their firewall. I have been able to connect to their Linux servers using SSH and then SSH to my server from ...
1
vote
0answers
67 views

SSHD_CONFIG keeps corrupting on reverse SSH setup

I have a reverse SSH setup to traverse an impenetrable CGN NAT. It works well, but the SSHD daemon on the client behind the NAT keeps dieing for unknown reasons (fails to start-up). The client ...
-3
votes
1answer
38 views

ssh tunel how to?

ok I have a following situation. machine1 , machine2 and laptop. I need ssh and scp protocol enabled such that I can access to machine1 and do some things there. also i cannot access to machine2 ...
1
vote
2answers
55 views

SSH Tunneling Through a Firewall to a Cluster

I work at a university but I often work remotely. There is a cluster computer at the university that I need to be able to interact with, but its behind a firewall. Let's call the firewall F and the ...
1
vote
1answer
42 views

Using SSH to allow Internet access

I have two hosts running on separate networks; A win7 machine and a Linux machine. Firewalls on the win7 subnet does not allow access to Internet resources, but it allows access to the Linux machine, ...
2
votes
1answer
32 views

Programatically / dynamically adjust SSH session port forwards

I have a workflow where I am trying to do the following: For a given existing SSH session, access the remote machinne and perform a process from which a port is returned (e.g. a remote daemon has ...
0
votes
0answers
61 views

tunnel 6to4 via ssh

Need Help regarding below setup. Before starting let me give you short idea about infrastructure and topology and the problem which we are trying to resolve We have 4 Machine i.e. A, B, C and D with ...
0
votes
0answers
138 views

ssh: remote port forwarding failed for listen port <privileged>, although root

ssh root@host -R 135:other:135 Warning: remote port forwarding failed for listen port 135 Why? I'm root, nobody's listening on that port, subsequent -L 135:... works: ssh root@host -R ...
1
vote
1answer
1k views

SSH tunneling fails with “administratively prohibited: open failed” [duplicate]

I am trying to connect to internet via a server in local network. I don't have permissions to change server configuration. I want to do a ssh tunnel to that server and via that using socks proxy, I ...
2
votes
3answers
123 views

Copying a file using SSH over a tunnel with cert forwarding

I need to find a way to copy files from mymachine to a server priv-server sitting on a private NATted network via a server pub-server with a public IP. The behind-NAT machine priv-server only has ...
2
votes
2answers
134 views

run a local SOCKS proxy tunneled through SSH

I was going through this post and couldn't quiet follow what is being implied there. A great "feature" I use every day at work: The ability to have SSH listen on port 443 so I can create a ...
0
votes
1answer
241 views

Remote Xfce session in a separate console?

I have the following setups: A netbook with Xubuntu 14.04 and desktop PC with Debian 7. I can connect from netbook to desktop through SSH. I want to start a separate X server on netbook and host on ...
2
votes
1answer
222 views

SSH over corkscrew and proxy get “ssh_exchange_identification” error

until few days ago I was able to connect to my remote ssh server, using corkscrew to tunnel the connection through the corporate proxy, with this simple configuration: ssh -v root@xxx.xxx.xxx.xxx -p ...
0
votes
1answer
150 views

Specifying a random monitoring port with autossh

I have many reverse ssh tunnels and because monitoring ports can't be reused, I am trying to find a free random port for monitoring. Meanwhile I specified -M 0 and the forwards work great and in ...
3
votes
1answer
71 views

SSH Tunnel with autossh

I can't seem to find a close enough example but here it goes. I'm trying to in the end setup rsync from one server to another through an ssh tunnel. Local (my machine) will run the rsync to pull ...
0
votes
1answer
296 views

How does a cisco device know if I'm connecting via telnet or ssh?

I'm experiencing strange behavior with a Cisco UC520 router. When I am directly connected to the router and telnet to it using this: telnet 192.168.1.1 23 Then I get a successful login prompt: ...
2
votes
1answer
88 views

SSH fork kills connection

I am using a linux script which has the task of forwarding control of the system to remote support. In this script one of the commands is a ssh port forward command that will forward the port of the ...
1
vote
2answers
86 views

SSH into multiple remote machines through ssh tunnel [duplicate]

I am new to ssh-tunneling. Basically I want to be able to get ssh access to servers in a remote lab (say subnet 1.2.3.X). I can log into a machine that is visible say 11.22.33.44 I want to be able ...
1
vote
1answer
82 views

Reverse ssh tunnel in config

How can I establish a reverse ssh tunnel with my ./ssh/config file? I'm trying to reproduce this command ssh -R 55555:localhost:22 user@host in my .ssh/config file so that when I type ssh host ...
2
votes
1answer
162 views

Creating an SSH tunnel from a linux VPS to a web server database

I'm creating a server application that clients will connect to. The server application is running on an Ubuntu Server 14.04.1 VPS. The server needs to be able to connect to a MySQL database hosted on ...
4
votes
1answer
129 views

Tunnel HTTP traffic over ssh

Here's my setup. I have a private network with one public IPv4 address. On this private network, I have two servers, 192.168.1.10 and 192.168.1.20. .10 is my ssh bastion host. I have set up port ...
6
votes
1answer
269 views

Work around two-factor SSH auth with Master connection and port forwarding?

The problem 1.0 I'm working on a server that only supports two-factor auth (keypair auth is disabled). So every time my SFTP client wants to upload a file, it asks me for a token... after 3 minutes ...
4
votes
2answers
2k views

Tunnel yum traffic through another server via ssh

I am running a Fedora desktop behind a corporate proxy that is blocking yum traffic (specifically *.gz and *.bz2). I have access to a separate RedHat machine via ssh which can download anything it ...
0
votes
0answers
58 views

RDP from Windows PC to Linux

I have my Windows on network A and Linux machines on network B. I want to access the 0th desktop of one of the Linux machine from my Windows. I can ping my Windows machine on network A from the Linux ...
1
vote
1answer
102 views

Run script after GDM login into GNOME?

I recently bought a laptop and wrote a script that sets up a reverse ssh tunnel if a certain user logs in through GDM. I did this because I've had a laptop stolen in the past and would like to be ...
1
vote
1answer
30 views

remote desktop on host

I have a host and I need people from Europe to access application on its desktop. So far I have told them to use ssh -x -C user@host and then launch an application with application& to get the app ...
1
vote
0answers
40 views

Forcing broswers to use a different host and port when viewing websites over ssh-tunnels

I've setup an ssh tunnel to a network that has a website I need to view. However, when requesting the page my browsers sends the host localhost and url http://localhost:1234 in the HTTP headers. Is ...
3
votes
1answer
128 views

How do you verify if an INCOMING ssh tunnel is still up and who it belongs to?

See edit below for short version I am having issues displaying the status of the ssh tunnels on our server. Here is some relevant info: user001 = remote client's username 123.123.123.123 = ssh ...
1
vote
1answer
399 views

How do I troubleshoot ssh tunnels disconnection?

I am using SSH tunnels launched via autossh at boot on a device installed at remote locations. Up to now everything was working fine but yesterday the connection partly went down and autossh wouldn't ...
1
vote
1answer
553 views

VNC & SSH : local (win-putty) -> hop (linux) -> remote (linux)

I'm gettin a headache trying to access a remote VLC & SSH. This is the situation : Local : Win box behind NAT, dynamic IP. I want to connect from here. Hop : Linux box, static IP server Remote ...
1
vote
1answer
100 views

How can I use a Raspberry Pi as a router between two WiFi networks?

I want to RDP from PC1 (Running Windows 7), to PC2 (Running Windows 7) using Pi (Raspberry Pi running Debian). This the network situation: Network1 Network2 ...
2
votes
1answer
606 views

SSH local port forwarding for web traffic requires proxy configuration in browser settings?

I enabled SSH local port forwarding with a command ssh -NL 8080:whatsmyip.org:80 <remote-sshd-machine>. Now when I opened up a Firefox and navigated to http://127.0.0.1:8080, the web-page did ...