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

learn more… | top users | synonyms

0
votes
1answer
17 views

Gateway Server Jump Bastion Host Local Setup [on hold]

I want to ssh to an remote private host using an intermediate (bastion, jump, gateway) server. This command works fine: ssh -t remote-user@remote ssh internal How can I implement this in my ...
1
vote
0answers
21 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
45 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
33 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 ...
-1
votes
0answers
17 views

connect to openshift amazon ec2 server via bitvise

is it possible to connect to my open-shift application server via bitvise . i tried connecting but always got same error as in the image . if it is possible can someone please tell me the correct way ...
0
votes
1answer
25 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
29 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
32 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
48 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
62 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
23 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
11 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 ...
1
vote
1answer
45 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
25 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
203 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
61 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
29 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
80 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
87 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
83 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
88 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
49 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
38 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
79 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
945 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
77 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
2k 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
309 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
508 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
36 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
511 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 ...
1
vote
1answer
48 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
36 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
152 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
89 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
64 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
145 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 ...
2
votes
1answer
448 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
851 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
2k 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
80 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
115 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
30 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
78 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
372 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
190 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
195 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
217 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
3k 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
141 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. ...