An SSH tunnel leverages the SSH protocol to transport unencrypted data through an encrypted connection.

learn more… | top users | synonyms

-2
votes
0answers
22 views

using SSH from windows 8 to port 3306 [closed]

I am trying (from 7 days ) to connect 2 machines windows 8 I install freesshd server on each other and can connect from one to another and control every thing via Putty Client on port 22 But, ...
0
votes
1answer
18 views

SSH Tunneling and LAMP at same time

I am tunneling Firefox through SSH to a remote server using: ssh -D 9999 -C usr@remotehost.com This binds 9999 port on localhost. I set this up in Firefox proxy settings using Socks5. It works ...
2
votes
3answers
128 views

make program installs via ssh tunelling on CentOs system

I have a Machine A with no access to internet. I have a Machine B with access to internet. A & B can connect to each other via ssh. I'd like to make some program installs on A (perl, R package ...
0
votes
1answer
33 views

how to access a private host through a public one

I have a number of AWS EC2 instances, one of them has a public IP address, the rest do not have public IP addresses. I have set up SSH access to the public machine using a private/public key pair. I ...
1
vote
0answers
27 views

Centralize way to prevent interactive logins

I have an Ubuntu server that is used for two primary purposes for my students: To hold on to files that students need to temporarily upload for my assessment (ie: I give them an input image, and ...
0
votes
1answer
58 views

ssh tunneling not working due to strict iptables

my iptables are set so that I can only allow ssh connections. I tried ssh tunneling and I can connect to my sever, but after when I try using my server as a proxy on firefox, pages try to load ...
0
votes
1answer
48 views

ssh multiplexing via port forwarding

I'm trying to create a setup where one could "ssh" to a specific port on localhost and then get forwarded to a remote server and into a shell, without the need to enter credentials (nope, secret key ...
0
votes
1answer
38 views

ssh tunnel through two-factor auth

I need to connect to server using SSH, and the server has two-factor authentication enabled and secretkey disabled. Now, I can connect "manually" form the shell with the help of Google authenticator ...
0
votes
1answer
65 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
1
vote
1answer
71 views

Making proxy available on remote server through ssh tunneling

I know I can use ssh tunneling to create a "proxy" on my machine so that I can make all the traffic generated locally go through a remote server. Like this: $ ssh -D 12345 myuser@remote_ssh_server ...
2
votes
1answer
89 views

How to get the list of SSH tunnels connected with the username used?

The connection is established from Desktop(D) to Server(S) with ssh -D PORT username@Server. From the Server, the list of ssh users connected can be obtained with who, but the ssh tunnels are not ...
1
vote
2answers
100 views

How do I resolve OpenSSH protocol mismatch? [closed]

I'm trying to get around a hospital firewall. I can SSH into my devbox on Port 443: ssh -L 8080:devbox:443 root@devbox -p 443 But I can't actually get the devbox to load in my browser. When I go ...
0
votes
1answer
44 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
1
vote
0answers
58 views

Can My Company Block Websites Though An SSH Tunnel?

I am trying to tunnel through a firewall on a client site so that I can reach my company email. I have created an SSH Tunnel using putty by adding a Dynamic port (6666) in the Tunnels then logging ...
0
votes
0answers
26 views

SSH into EC2 instance through a “bridge” instance

I need to ssh into an EC2 instance which can only be accessed from another EC2 instance. So I've tried something like this ssh -N -L -i target_instance.pem localhost:22:ec2-user@10.0.0.1 -i ...
0
votes
1answer
53 views

setup ssh a special kind of ssh tunnel

Ok so I have run into a pickle. I have a web application that I really need to demo this weekend. I can't demo it unless my sysadmin (who is off work) takes down client SSL authentication. There is ...
-1
votes
1answer
157 views

Proxy a remote web host to appear as localhost (via ssh tunnel)

I'm developing a web app that needs to embed pages from a legacy web app in an iframe, which needs to be recognised as the same origin to allow the page to mess with the iframe contents via ...
0
votes
0answers
94 views

Redirecting traffic through ssh tunnel

I'm trying to redirect the traffic coming from clients to external proxy server. I've the following architecture +----------------------------+ ...
0
votes
2answers
168 views

SSH tunneling in background

I'm trying to tunnel my production mongo server to my test server, so, I can perform some tests. I know I can simply establish a tunnel by ssh -L, but I need to run this as a background process as I ...
0
votes
1answer
71 views

SSH connection timing out on certain clients only

I have a server that has around 100 SSH tunnel connections active from client servers across Canada and the US. We use the same device that runs a custom build of Ubuntu and load that on each client ...
1
vote
3answers
536 views

MySQL access denied error when connecting via SSH tunnel

For months I've been connecting to the MySQL instance running on our local test server through an SSH tunnel without any issues. All of sudden though, with no changes I can think of, the server has ...
0
votes
1answer
90 views

SSH Tunnel - Proxy Not Working From Remote Location (Login is working)

I have just set up a Cygwin SSH server and successfully tunneled to it from a remote location. Logging in works but when I point my browser to localhost 8888 (sock 5), all connections are refused. ...
0
votes
0answers
34 views

SMB reverse port forward fails to connect

I have a rather complex server setup consisting of a reverse SSH tunnel through a Linux VPS. Namely, server A is a Mac Mini and runs a script which reverse tunnels to the VPS, which we'll call B. ...
0
votes
1answer
134 views

Apache / Tomcat AJP DNS failures when tunneling

I have a situation where I can access a private NAT-ed apache2.4 / tomcat7.0 railo4.2 server directly from the host or local network but when tunneling in through an SSH remote port forward the ...
1
vote
0answers
208 views

Multiple Reverse SSH Tunnels using Single Port

I am able to accept reverse SSH connections from multiple remote systems on a single server using a port for each connection: Remote A: ssh -fN -R5000:localhost:22 user@server-ip -p22 Remote B: ssh ...
0
votes
0answers
223 views

Mysql through ssh often can't connect or timeout

I have a MariaDB server (10.0.12) on a machine (Ubuntu 14.04) that other servers connect to through ssh for security purpose. The ssh tunnel is openned via autossh like so: autossh -M 3306 -f -Ng ...
0
votes
1answer
58 views

Cannot remote copy file via tunnel [closed]

I'm trying to get a file from server1 (localhost) with scp. I am accessing server1 from the gateway server2 (that is the only one accessible from the internet). I am able to open a ssh connection by ...
0
votes
1answer
115 views

Control outgoing interface linux SSH tunnel [duplicate]

I am using a simple socks proxy in my browser. I create the socks using ssh -D myremote.server Now all requests go via the primary IP address of myremote.server. Can I change this behaviour that ...
0
votes
2answers
145 views

SSH connection falling down

I've set up a connection with autossh that creates some tunnels at system startup, but if I try to connect, after successful login (with RSA key) connection fall down, here a trace: debug1: ...
1
vote
0answers
128 views

SSH Fails to Disconnect after Interruption

I have a set of issues, all combining to make for one nasty problem. The background: I have a server behind a firewall reverse tunneling using an external VPS (we'll call the server "the server" and ...
1
vote
4answers
162 views

Prevent closing of SSH Local Port Forwarding

I am running various services on an Ubuntu virtual machine running on Azure, and I would like to access some of the services remotely, even though the ports are not open publicly. To do so I have set ...
3
votes
0answers
23 views

restrict ssh reverse portforwarding per user [duplicate]

I have a server that needs to accept incoming ssh connections with portforwarding. The incoming clients request a port forward from a port on the server to a port locally. They authenticate using a ...
1
vote
1answer
2k views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
1
vote
2answers
639 views

Setting up a tunnel with putty, jump server for using synergy

Long time ago I set up an environment where my Linux machine (LM) was a synergy server and my Windows machine (WM) the synergy client as described here. Since our admin put in a Linux jump server ...
1
vote
4answers
2k views

SSH remote port forwarding failed

Follow-Up: It looks like the rapid series of disconnects coinciding with a few months of running each server is probably coincidental and just served to reveal the actual problem. The reason it ...
1
vote
3answers
189 views

RealVNC SSH tunnel still warns of unencrypted connection

I'm using Putty and RealVNC to establish a secure connection to an OSX 10.9 server machine. I've tried to run this connection over an ssh tunnel I set up, but the client warns of an unencryted ...
1
vote
1answer
74 views

restrict shell commands for munin-node (netcat)

I've spent fair amount of day fiddling with this, and I'm about to give up (for today). I followed the instructions outlined here. All works at the moment. But to increase security I'd like to ...
0
votes
2answers
454 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
0
votes
1answer
80 views

Access Internal Website from Public Internet

I have the current setup: laptop -> gatekeeper -> master_server -> my_machine There are 3 SSH's that I need to do to get to my_machine and I found a solution to do it in one step by editing SSH's ...
0
votes
1answer
136 views

RDP through SSH tunnel fails [closed]

I'm trying to set up RDP through SSH tunneling to an Amazon EC2 instance, but it is failing. I have set up PuTTY properly and can connect to the remote server via RDP and log in, but after successful ...
1
vote
1answer
177 views

Using a reverse tunnel to access a firewall-ed web server serving HTTPS

I have a device ("A) on my network that only serves content via HTTPS, it's not accessible as its behind my router/firewall. I have another machine ("B"), elsewhere on the internet (fake IP of ...
-1
votes
1answer
77 views

SSH through another machine at work to an external server [duplicate]

I'm fairly sure this will have been asked before, I have found similar questions but I do not fully understand how to apply them to my situation. So, sorry for asking again. We have a number of ...
0
votes
2answers
443 views

HTTPS SSH Tunnel

Ok so I have a web server, lets call it Server A, which is providing a service via HTTPS. And I have an SSH gateway server, lets call it Server B. Due to firewall rules I cannot access Server A's web ...
2
votes
1answer
2k views

How do I configure pfsense as an outbound VPN client?

We use pfsense as a router/firewall. Because we're based in China, it is useful for us to have VPN access for all our internal clients. Instead of each individual client connecting to a VPN server ...
3
votes
1answer
194 views

How to make ssh fail if port forwarding fails

I have a bash script that runs ssh to create a port forward, using a command like this: ssh -N -i keyfile -L 1000:localhost:22 *remote_ip* There are occasions where the listen port may be busy, so ...
2
votes
1answer
50 views

SSH: Local Server has public IP; Remote doesn't

Local machine has a public IP. The remote machine is running at a clients site. I have full access to this machine, but it does not have a public IP. At the moment we're using TeamViewer to remotely ...
1
vote
2answers
197 views

SSH Tunnel or Reverse Tunnel

I'm trying to establish a SSH tunnel to allow VNC/ARD connections (ports 5900 and 3389). However I'm uncertain about a certain thing: Let's say machine A has IP 192.168.103.1 and has services running ...
-2
votes
1answer
984 views

Impossible to connect ssh /root/.ssh/known_hosts': No such file or directory

I can't connect to my server with ssh. I have already started a session with ssh but i know if i quit this session, i won't be able to connect again to my server. ssh root@genese.com ...
0
votes
0answers
94 views

Establish an SSH Tunnel out from behind a firewall

I have a box sat behind a firewall, and when its powered on (or internet connection resumed), I want it to connect to a server, allowing me to do a reverse SSH connection back to it. I'm currently ...
2
votes
2answers
357 views

SSH port tunnel disconnects with “select: Invalid argument”

I am tunnelling into a remote server to access a private api. I am using the following command (by typing it into Terminal) to forward a single port: ssh -L $local_port:$host:$port -v. Tried many ...