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

learn more… | top users | synonyms

0
votes
0answers
13 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
1answer
66 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
35 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
75 views

RDP through SSH tunnel fails [on hold]

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
31 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
48 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
43 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
55 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
107 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 ...
1
vote
1answer
29 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
98 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 ...
0
votes
0answers
45 views

How to set an ssh+svn subversion on a VPS with Plesk?

i'm using this tutorial to set an Tunnel for my subversion. But while im connecting there is an Error on my SSH Panel. I took a look into the log and i saw this : svnserve: Can't read encryption key ...
-2
votes
1answer
112 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
48 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
200 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 ...
0
votes
0answers
43 views

Write failed: Broken pipe even if I use ServerAliveInterval?

This is my ~/.ssh/config file - Host 10.2.1.1 ServerAliveInterval 120 ProxyCommand ssh 10.1.1.1 nc -w1 10.2.1.1 22 I've configured it so that I can bypass the jump server each time I need to ssh ...
0
votes
1answer
42 views

Reverse SSH Tunnel Failing - Looking for Debug Advice

I have a Mac OS X server (referred to as the internal server behind a firewall that is reverse port forwarding via ssh -gnN -R *:remoteport:localhost:localport root@remote.server where remote.server ...
0
votes
1answer
149 views

Tunnel windows VPN through SSH

Ok here is my issue... I want to connect to a VPN via pptp on Windows XP however it is behind a firewall that I have no control over. I am able to make SSH connections. I wish to VPN to a server I ...
-1
votes
1answer
34 views

Prevent SSH Session Eavesdropping through a Bounce Host

In order to access a Linux host through a firewall/NAT I am required to use an SSH "bounce host". I am concerned with the possibility that this bounce host may be logging my SSH session. In a test ...
0
votes
0answers
38 views

SSH Tunnel not working, but not able to find the point of failure as it worked previously

I am having an odd issue wherein suddenly port forwarding stopped working in a particular scenario for me. By default I need a particular port forwarded on all servers I manage and so I have the ...
3
votes
1answer
119 views

cannot connect to mysql on AWS through ssh tunnel

I'm trying to break down the task of doing AWS debugging on rubymine into smaller chunks. I would like to connect to the mysql server running on AWS. So I did the following: first: Establish an ssh ...
1
vote
1answer
133 views

Forwarding VPN via reverse SSH tunnel

I have a server that reverse ssh tunnels to a secondary server. The secondary server then acts as a "bridge" to the internal server (the external server's IP address is what I connect to). This works ...
5
votes
3answers
281 views

Copy data through SSH tunnel over multiple hops

We have two main environments in question: Development and QA Each environment has two servers: Jump Box Application server In order to connect to the application server, you must connect to the ...
0
votes
0answers
45 views

Forward SOCKS proxy through 2 SSH Reverse Tunnels

I'm attempting to connect to one network's internet connection from another network, kinda a VPN but unfortunately is not possible. I can't have the ports open for any of the 2 networks for port 22 ...
1
vote
2answers
87 views

How to configure ssh tunneling with Putty between two RHEL servers?

I'm trying to allow ssh access from a remote RHEL server to a local RHEL box via Win/Putty gateway. Basically, I'd like to be able to do 'ssh localhost -p 512' on a remote server so that it would ...
0
votes
0answers
78 views

redirect LDAP with TLS with SSH

I need to query an LDAP server with TLS enabled. The LDAP server is behind a firewall. It only accepts queries with TLS enabled (-Z option). I redirected the LDAP port like this: oz123@devhost ~ $ ...
0
votes
1answer
128 views

Enable Cisco ASA as an SSH Tunneling

I am trying to utilize my Cisco ASA as a SSH Tunnel. I've configured this before when using a Linux server as the SSH target, however I cannot seem to get it to work with the ASA. I have configured ...
1
vote
2answers
66 views

SSH connection times out unless I tunnel in from a different server-

OK, so this just started last week - Whenever we try to connect to our server via ssh (we use sftp, as well) - The connection times out. However, when you ssh to any other server and then ssh ...
-1
votes
6answers
408 views

Total newb having SSH tunnel and remote MySQL access problems [closed]

I don't often work with linux or need to SSH tunnel into remote MySQL databases, so pardon my ignorance. I'm using Windows 7 and am needing to connect to a remote MySQL instance on a Linux server. ...
1
vote
1answer
64 views

Create tunnel from PC1 to PC2 allowing PC2 to then connect back to PC1 via SSH without Port Forwarding

I'm looking to offer a Linux remote support service, to PC's which are mostly behind home NAT routers which don't have any ports forwarded. I want to be able to connect to those PC's by SSH upon ...
1
vote
1answer
117 views

How does ssh ProxyCommand actually work?

I am comfortable with using the ProxyCommand feature of ssh and can use it to hop through mulitple bastion hosts to reach the final host efficiently. But I just can't seem to understand how it ...
0
votes
0answers
68 views

Benefits of using Squid over SSH vs a dynamic SSH tunnel

Recently someone at my place of work set up Squid for convenience so that a bunch of us can use it if we want. Since it's not publicly accessible we'd need to SSH to the server and set up a tunnel. ...
-1
votes
1answer
35 views

Server between our office network and the internet, as wireless router and ssh tunnel [closed]

We have a small office network that today is behind a normal router connecting us to the internet. We have a web based system on the internet and we have some admin tools on it that we want to lock ...
1
vote
1answer
614 views

Lost connection to MySQL server at 'waiting for initial communication packet', system error: 2

I've just spun up a new RackSpace VPS using Ubuntu. I'm normally using CentOS so forgive me for any Ubuntu newbie mistakes. I set up an SSH tunnel using Putty and tried to connect via SQLYog, ...
0
votes
2answers
49 views

Restricting our server access to our office IP and using SSH tunnel when not at office

Our production server hosts a small web system that runs on Apache and MySQL. Today SSH and mysql access is open to all ips and only password protected. So we've decided that we need to improve ...
0
votes
3answers
116 views

Accessing a web server behind router, when port forwarding is not an option. Like localtunnel but for multiple sites

The situation I'm running a web server (CentOS on VMware, multiple virtualhosts) on a development machine and I'd like to give access to clients to view some sites without me having to upload them to ...
1
vote
2answers
654 views

Ansible experts: Command or Shell task hangs when using ssh to create a tunnel

I am using Ansible to push configuration. I have a task inside a playbook that I want to start an ssh tunnel in the background for mongodb. The task command that i'm using is - name: Start tunnel ...
-3
votes
1answer
49 views

Can I use SSH tunnel to get around firewall? [closed]

I want to ssh to Server-A which only accepts connections on port 1234. This port is blocked on my current network's firewall. Server-B however, accepts ssh connections on standard port 22, and is ...
2
votes
2answers
154 views

Persistent reverse SSH tunnels

We have a number of servers (currently in the 10s, soon the low 100s) deployed to varying institutions with varying network layouts. To make sure that we can access the servers at will we have them ...
1
vote
1answer
87 views

Prevent user access to console but still allow svn+ssh:// access to SVN repos

I create an user john on my server and I add him into the SVN group so we can share our code and everything looks okay. Now I want to prevent this user from connecting to the console or shell via SSH. ...
2
votes
1answer
83 views

Why a PGSQL graphical client can connect through SSH Tunnel and not me?

I have a PostgreSQL server which allow only local connexion. I'm using "Navicat for PostgreSQL Lite" to do some admin operations. In this client, I configured a SSH Tunnel to my server. Everything ...
0
votes
1answer
135 views

SSH Tunnel or OpenVPN to securely connect app and database servers?

I have my app (a PHP forum) and database on separate servers, and want to make sure that the connection between them is secure. I've taken all the preliminary steps that I've come to know of, and am ...
0
votes
1answer
83 views

ssh tunneling vs tor [closed]

I was wondering what is more secure: using tor or ssh tunneling. Tor uses "Onion Routing", which means that each node except that exit node can't see the data that is being due to encryption layer. ...
-1
votes
1answer
42 views

Using ssh tunnel to RDP into internal network [closed]

I'm a newbie to tunneling and can't figure this one out. I have an externally available computer, let's call it example.com, which is Unix. In its internal network there is a Windows machine I want ...
0
votes
1answer
188 views

how to solve the “open failed: administratively prohibited: open failed” when using a SSH tunnel proxy

I've been using SSH tunnel for a while on Windows (using Putty). On Windows with putty, it is always fine, but on mac or cygwin, it sometimes prompts the warning message: open failed: ...
1
vote
1answer
99 views

Using SSH Tunneling to access website behind firewall [closed]

I hope someone can point out what I'm doing wrong. I've drawn the following picture to illustrate what I'm trying to do. Basically, I'm trying to access a website that is hosted on a server that is ...
1
vote
1answer
66 views

SSH tunnel created successfully, but telnet test still fails

I am on a RHEL 5 system, connecting to another RHEL 5 system. I created a SSH tunnel with the following command: ssh -2 -4 -f -x -N -L 1527:remote_host:1527 user@remote_host (remote_host is the same ...
-1
votes
2answers
41 views

How do I use ssh forwarding? [closed]

I have a Linux server which only opens two ports for public: remote-server-ip : 1111 remote-server-ip : 2222 We have a web application in the server which use 3333 port and can't be changed. So, ...
0
votes
2answers
2k views

autossh in background does not work

I have set up a tunnel via autossh. This works: autossh -M 33201 -N -i myIdFile -R 33101:localhost:22 autossh@myhost.com I would like to run autossh in background. Seems easy using the -f option. ...
5
votes
2answers
413 views

How to Configure Secure Connectivity between Multiple Subnets

I have the following setup 2 x linode vps 1 x lab (physical) running 4 vps My goal is to make it so all nodes act as if they are on the same LAN. This will allow me to alter IPTable rules, to allow ...