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

learn more… | top users | synonyms

1
vote
1answer
16 views

Forward connections from docker container on specific port to local interface on host

I am attempting to run services in containers within a cloud provider. I would like the containerised applications to authenticate with an on-premises LDAP server, which is (currently) available via ...
0
votes
0answers
28 views

Weak points of ssh tunnel and x11 server, hack investigation

So, today I've been hacked. It's very puzzling to me how it was done, so I'm looking for experienced people to show weak points in design of my systems. I have two servers. One is VPS with ...
0
votes
2answers
28 views

NFS share not connecting over ssh tunnel on Mac OsX, it works on all other devices

I've been searching for a while now to try and find a solution but I finally gave up. I have a ubuntu server running an nfs share. I set it up so that you have to connect to it using ssh. which is ...
0
votes
2answers
37 views

Cannot connect to MySQL on EC2 over tunnel

For security reasons we want to connect to MySQL running on EC2 over ssh. We have other servers where we do this with no issues, but for some reason on EC2 it's not working. The instance is running ...
-1
votes
1answer
37 views

SSH tunnel to MySQL running on FreeBSD (Heidi SQL)

I'm trying to use a SSH tunnel to access a MySQL-server running on a FreeBSD 10.1 server. These attempts are done with Heidi SQL (http://www.heidisql.com/). The SSH daemon on the FreeBSD server does ...
0
votes
1answer
24 views

SSH tunnel through two gateway servers

I am aware of questions already asked for a tunnel through one gateway server. However couldn't find anything on multiple gateway servers. How do I configure a ~/.ssh/config file which will allow me ...
-2
votes
0answers
13 views

SSH Connect to hosts by using tunnel [migrated]

I want to ssh connect from host A to host C directly with one ssh command. +---+ +---+ +---+ | A | -> | B | -> | C | +---+ +---+ +---+ Host A already have keys ...
-2
votes
1answer
45 views

Setup Tunnel via ssh and use it's Internet for VPN clients

I have two VPS centos 6.6 x64 with Public IP addresses example:1.1.1.1 and 2.2.2.2 VPS with 1.1.1.1 is a VPN server I Need to connect 1.1.1.1 via ssh to 2.2.2.2 so My VPN clients on 1.1.1.1 can Have ...
7
votes
1answer
467 views

Copying SSH IDs between servers

Is it good practice to copy SSH IDs a la ssh-copy-id between remote servers in production, so that they can perform various SSH tasks with one another easier? In particular, I'm setting up SSH ...
0
votes
1answer
30 views

Port forwarding between 3 machines

I have 3 machines that are connected as a chain, A,B,C. A-->B-->C A is my machine, B is server, and C is other machine with some services and web server on it. Because of some issues I need ...
0
votes
2answers
40 views

ssh connection from linux via windows to server

I have a linux computer and a windows computer which are connected to different networks. I would like to connect from my linux machine to a remote ssh server. From my linux computer I can access ...
0
votes
1answer
42 views

How to reconnect to MySQL through SSH tunnel after connection drops?

I use to connect to MySQL server (Debian Linux) through a SSH tunnel. Yesterday I issued a complex query, that usually takes 30 min or so to complete. After few minutes: plink.exe: FATAL ERROR: ...
0
votes
0answers
30 views

SSH tunnel is up, but cannot connect to database

I am working on a project where we are using an SSH Tunnel with port forwarding. Our server contains a website which references a database on our customers server. We have established an SSH ...
1
vote
1answer
30 views

SSH Tunnel issues

Our setup is as follows; - 2 tomcat servers hosting sites - 1 load balancer - SSH connection to client server which contains database This approach has worked fine with the exception of one client ...
0
votes
0answers
20 views

SSH Connect to remote computer to query database on local server

I'm having real difficulty with an SSH tunnel to a customer server. This is needed as we are developing a site on their behalf, hosted on our server but referencing the database on their server. The ...
-1
votes
1answer
31 views

What does -ssh mean in SSH Tunnel

A previous employee at the company i work for had set up an SSH Tunnel but I am having some difficulty with it. echo y | plink.exe -ssh -R 24011:localhost:1433 connect@testsite1.fern.io My ...
0
votes
1answer
44 views

SSH Tunnel not working

I have a number of SSH tunnels set up between our company's server (hosts website) and our customer's servers (hosts database). For all sites but one the connection is relatively stable however one ...
0
votes
1answer
29 views

networking port forwarding to ssh tunnel

I have a quick question regarding Linux port forwarding to an ssh tunnel. A ssh (reverse) tunnel connected to a web service on one machine is terminated on one machine, such that the service is ...
1
vote
0answers
29 views

SSH Tunnel connection issues

I am having difficulty with an SSH Tunnel which keeps dropping. i have tried with a variety of ports and have checked the event viewer to see if there's any information there but as yet have found ...
0
votes
1answer
45 views

SSH Tunnel Connection keeps dropping

I am developing a site whereby the site connects to a clients server to query the database. A ssh tunnel was created and this approach has worked fine for all sites but one. I'm assuming that because ...
0
votes
2answers
84 views

SSH Connection through a Reverse (Remote) SSH Tunnel

This is the setup I have : a Linux box A inside a LAN behind a firewall. a Linux server with a fixed IP address that is accessible from the internet. I want to be able to connect to the Linux box ...
1
vote
1answer
79 views

Windows Server Port forwarding SSH to Telnet for multiple users

I have multiple installations with a specialized database framework (Intersystems Caché) that contains its own Telnet server running on port 23. Although the product does run on Windows Server 2008, ...
1
vote
0answers
93 views

Using autossh to port forward redis traffic on an unstable connection

Setup 1 redis master 3 clients redis slaves(for reads) with tunnels to master for writes Each redis instance is a different server in a different location. Requirement Keep a persistent ...
0
votes
1answer
66 views

Why SSH allows me to create multiple local tunnels on same port?

As you can see I get error message when I try to create another tunnel listening on local port that is already used but the tunnel is created. Can I force ssh to not create tunnel on given port when ...
0
votes
0answers
132 views

Mounting NFS server through SSH reverse tunnel

Here is my setup: Office computer in a network, with no way to access from outside, (OC) embedded computer in the field (FC) Server in the office, containing data to which the field computer needs ...
0
votes
1answer
35 views

ssh tunneling lmgrd port what I've missed?

I've got 2 machines: one local , one flexserver I'd like to do a ssh connection for forwarding the TCP port of the flexserver. On the flexserver, lmutil lmstat -c 5280@localhost is working fine So I ...
0
votes
0answers
41 views

ldapsearch through ssh tunnel failing

I have following situation: 2 servers: a_server - this one from which I want to perform ldapsearch b_server - this is where LDAP directory located When I'm on b_server, this command ldapsearch -x ...
1
vote
2answers
38 views

Is it possible to limit which hosts are accessible through SSH tunneling?

I have a box that runs both an ssh server and a webserver. I would like to prevent people with ssh accounts from using this box as an anonymous proxy to the rest of the Internet (e.g. by creating a ...
0
votes
1answer
90 views

RDS replication from a remote master outside of my VPC

I'm attempting to replicate from an external MySQL master to an RDS instance. I don't really want to be sending data in the clear over the Internet, so I have an EC2 instance that I have set up an ssh ...
0
votes
1answer
116 views

Access web service behind jump host via ssh tunnel

I have created a web service running on protected server(Centos, 123.123.123.123:8192), we can only login to the web server via SSH from a jump server (say 111.111.111.111). I can login the web server ...
0
votes
1answer
26 views

mysql tunnel restrict server login

We currently only allow external mysql access by using ssh tunnels (with a variety of read only/write/admin users) with each end-user having a different user login on the server. Is it possible to ...
0
votes
0answers
15 views

terminate tunnel with Cisco 1905

We have a Cisco 1905 router and I was wondering, if there is an option to terminate an ssh tunnel on it, i.e. that some external host would be able to establish a secure connection through a ssh ...
2
votes
1answer
79 views

Remote port forwarding not working

I have a test app I run locally, and use remote port forwarding to give others access to it. This was working just fine, until I set up a new server instance on EC2. The EC2 server runs CentoOS 7. ...
0
votes
1answer
35 views

ssh tunneling on the same machine

I am pretty lost with that. I have a machine with multiple adaptors, wlan0, eth0 and vpn_tun10. I want to set a tunnel on this machine to listen to request on the port 1080 and route them to the same ...
3
votes
2answers
403 views

Tunneling cassandra via ssh gives me a connection closed error

I have a server with two network interfaces. Cassandra is listening on a dedicated internal database network on eth1 (not accessable from outside). So I do my tunnel like this: ssh -f -N ...
0
votes
1answer
90 views

I set up a web application server, and a separate server for postgres on the same network. How should I secure the connection?

I'm trying to determine the best, modern practice for using your own separate database server for a web-app. I have an app server, appserver1, (running php, nginx, etc, not that that matters much), ...
1
vote
1answer
34 views

Two factor athentication on SSH server without root privileges

I want to set up two factor authentication on a server, on witch I don't have administrative account. The purpose of this is: I want to give some other people possibility to create SSH tunnels to this ...
0
votes
1answer
122 views

squid3 FAIL with cache_peer round-robin on 127.0.0.1 different port

I have 3 tunnels end to a Debian running squid3 (ports 9001 to 9003). At start of each tunnel runs a proxy. I try to load-balance those proxies this way: http_access allow all http_port 4128 ...
0
votes
1answer
112 views

SSH socks proxy reverse connection Connection denied

So I wrote a java app that connects to a server in a reverse way (-R) and creates a ssh server where it is executed so the server can execute commands in the client that executed my app. That part ...
1
vote
1answer
115 views

SSH from Windows to Jump Server to MySQL [closed]

We have a MySQL instance running on a Linux machine and had to open a tunnel to access the server. This worked fine until admin decided to add a steppingstone / jump server. Now i can't seem to ...
-1
votes
2answers
108 views

“Cannot open SSH Tunnel” on MySQL (corrected)

(help, patience and mercy... begginer lost haha) -Ok heres the deal, im trying to connect a EC2 Instance to MySQL throught SSH in MySQL Worckbrench -I set up the configurations this way SSH ...
2
votes
1answer
63 views

SSH Remote Forwarding with two hops

How can I make ports forwarded or proxied by ssh available to machines other than the local machine? e.g. machine A connecting to machine B (works) ssh -L8080:some-service:8080 user@machine-B ...
0
votes
1answer
42 views

Access a remotely inaccessible webapp through an accessible server [closed]

I need to access a locally developed webapp (port 80), which is for the time being inside a computer that cannot be accessed remotely: local machine (for ex. it's behind a firewall). So, what I ...
0
votes
0answers
90 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null guest@198.51.100.11 -C -N -D 127.0.0.1:22220 -f [pid ...
0
votes
0answers
1k views

(reverse-) ssh connection “time out during banner exchange”

I have set up a few 100 embedded boxes to contact HQ by opening up reverse ssh tunnels, each under a new port. This is mostly working fine, but today I encountered a problem with using the tunnel ...
0
votes
1answer
105 views

How to force an ssh tunnel (or a ProxyCommand) to use an existing master connection? [closed]

There are three machines A, B and C running linux. I have root access to machines A and B but not to C. A is my local machine and I want to connect to C. C is only reachable through ssh over VPN. I ...
1
vote
2answers
3k views

How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
0
votes
2answers
403 views

tunnel port 8080 over jumpserver using ssh - socks5 proxy?

I have this setup: LocalPC - Jumpserver - Webserver with page only accessible on this machine via localhost:8080 LocalPC and Webserver are not connected - Jumpserver has to be used. Jumpserver ...
3
votes
2answers
678 views

Improving speed of large file transfer over high latency link

So, I've recently had the need to pull a large file over the internet from one of our offices overseas. Both offices have 50Mbit fibre links in both directions, but the round-trip-time is horrendous ...
0
votes
1answer
41 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 ...