2022 Developer Survey is open! Take survey.

Questions tagged [ssh-tunnel]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

tunel ssh: set remote listen ip

I want set a ssh tunel and Forward de remote ip/port to local ip/port local has ip 192.168.1.20 remote has ip 12.0.3.213 so ssh -R 12.0.3.213:6666:localhost:6666 <my_remote_user>@<...
user avatar
  • 141
-2 votes
0 answers
22 views

How can I set up domain-name-access to home server using cloud server with public IP and VPN? [closed]

srv_pub srv_target +-----------------+ +---------------------+ Internet | VPS | VPN 10.8.0.0/24 | HOME SERVER | -------...
user avatar
0 votes
2 answers
53 views

FTP over SSH (not SFTP?) when files are on third server not SSH server

I have a machine A. From it, I can SSH to machine B. Machine B can FTP to machine C. I want to download files from C, onto A. I do not have access from A to C directly. Port 20 and 21 ...
user avatar
0 votes
0 answers
10 views

How can I have ssh access to multiple machines using ngrok?

I've got a couple machines that are often either up or down. When they're up, I want ssh access to them using ngrok. I've set up ngrok on both machines, and their config files look like this: ...
user avatar
  • 101
-1 votes
0 answers
14 views

Dynamic tunneling of mosh via a DMZ/corporate firewall

I've read this: mosh tunnel via proxy, but want to beyond the solutions offered there. Scenario public internet private intranet [Client] <----------------> [Proxy] <----...
user avatar
  • 1,621
0 votes
1 answer
35 views

OpenSSH on Windows always binds sockets used for Remote Forwarding to LOOPBACK

Like the title says. Host A acts as a server (bastion-host, call it whatever you will). Now, host B performs: ssh -R 2222:localhost:22 user@A as a result a TCP socket gets spawned at A, but it is ...
user avatar
  • 121
-1 votes
1 answer
42 views

Using internet on remote server via SSH tunnel

I have a RHEL server accessible via jump host only. This is how i am connecting to it MyMachine(Win10)--SSH-->JumpHost(winserver2012r2)--SSH-->RHEL7 via ssh ssh -J user@jumphost user@RHEL7 I ...
user avatar
0 votes
0 answers
107 views

Receiving "SSH tunnel creation failed: open failed" from datagrip when testing connection

When attempting to connect to a remote mysql server through an ssh tunnel using datagrip on windows 10 as the client, I receive "SSH Tunnel Creation failed: open failed". I am able to ...
user avatar
0 votes
0 answers
42 views

Access Apache NiFi running on remote VM via browser and PuTTY

I'm trying to access a Virtual Machine running in Google Cloud which has a Apache NiFi service running on port 8080 on the VM. I have managed to create an ssh key and upload the public SSH key to the ...
user avatar
-1 votes
1 answer
37 views

Can I assign port 113 to other service, e.g., like a SSH server, without harming other services? [closed]

I have root access to a server (S), but have no control over the firewalls over the network. I set up a virtual machine (VM) inside the server (S) and wanted some users to access VM directly, i.e., ...
user avatar
  • 101
2 votes
0 answers
38 views

Remote Desktop (App Store version) can't connect to localhost

OK we have a weird setup I know.. We create an SSH tunnel to our work network, then use RDP to connect to our workstations in the office. Our SSH client is setup to forward local post 1024 to our ...
user avatar
0 votes
1 answer
44 views

Why do netcat packets get re-routed by iptables rules, but not a curl request?

I am trying to route all of my traffic through an SSH tunnel/SOCKS5 proxy. I have some IP tables rules configured to redirect (almost) all traffic to a socket-based program that then negotiates and ...
user avatar
  • 1
0 votes
0 answers
18 views

Dante auth based on network

I want to configure a dante (danted) server to allow no auth on localhost (for ssh tunnel) and to ask for username/password on every other connection. This is what I have as a config file but it's ...
user avatar
1 vote
1 answer
72 views

Connection through SSH tunnel initially slow

I have built an SSH tunneling service that runs in an Alpine based container, based on the approach outlined here: https://github.com/cagataygurturk/docker-ssh-tunnel The service connects via ...
user avatar
0 votes
0 answers
49 views

make ssh tunnel to remote server and manage with containerised NginX instance

here is what I am trying to do: I have a small Hetzner cloud server where I run multiple docker containers. One of them is an NginX container, that accepts connections and forwards it to other docker ...
user avatar
  • 131
0 votes
0 answers
15 views

Strange Port Forward Behavior

I have multiple facilities with a Sierra Wireless Modem/Router with ports forwarded to an Ubuntu Edge Computer (443 web interface, 22 SSH, etc.) Recently, we're seeing strange behavior where the ...
user avatar
0 votes
1 answer
105 views

Forward UDP ipv6 port in a VPS to UDP ipv4 port in another VPS

I have VPS let's say VPS X that doesn't have IPv4 but only has IPv6. and I have VPS let's say VPS Y that doesn't have IPv6 but only has IPv4. Since IPv4 is still common used today, and some device ...
user avatar
0 votes
1 answer
85 views

How to forward all port from Debian to Windows with OpenVPN

My Setup: Debian 10 from Azure Windows 10 from Azure Debian 10 is a clean new server from Azure with only OpenVPN installed and set up using the script from this Repository. Windows 10 is full of ...
user avatar
0 votes
1 answer
285 views

Apache Reverse Proxy for SSH Tunnel

I want to set up an Apache reverse proxy for my Home-Assistant(hass) instance running in my local network. I tunnelled the traffic of the local hass instance to a remote server with ssh -N proxy@...
user avatar
0 votes
2 answers
35 views

Outbound proxy using multiple public IP addresses on EC2

We have a bunch of backend servers in the form of EC2 instances based in a private subnet in AWS VPC that need to talk to a 3rd party API. This API is limiting the requests we can send based on the ...
user avatar
  • 286
0 votes
0 answers
123 views

How do you SSH into a machine to set up a VNC tunnel and a SOCKS proxy if there's a jumphost?

Currently I am running autossh -fqND "*:8080" -p 2222 192.168.1.217 autossh -fqN -L 5990:192.168.1.217:5900 home and home is the jumphost to 192.168.1.217 set with ProxyJump home. So I am ...
user avatar
  • 1,665
0 votes
1 answer
64 views

SSH remote forward success but test from remote site not working

Took me a while to figure this out, but finally got remote port forwarding to work with ssh as follows: ssh -N -i /etc/ssh/id_rsa user@somewhere.com -R 8080:localhost:80 -C -v The local server uses a ...
user avatar
  • 105
0 votes
2 answers
92 views

Connect SSH Tunnel with the Java Desktop program (.jar) to remote server

I developed a JavaFx Desktop program the employees of the company. Now, they want to use the program in their houses with their own personal computers. The program has MySQL and FTP services. I need ...
user avatar
0 votes
0 answers
90 views

Why does ssh on mac cause a socket error?

I am trying to connect to a server - lets call it destination_server on port 22. I only can access the destination_server via a ssh-tunnel. The ssh-tunnel should use another server - proxy_server on ...
user avatar
  • 1
0 votes
2 answers
102 views

Running mysqldump via SSH on separate mysql server

I've got an hosting environment consisting of two separate servers: web-server and db server. The web-server is accessible via SSH only (and of course port 80). The DB server is inaccessible from the ...
user avatar
0 votes
0 answers
49 views

Concurrent ssh connections on control server keep dropping

I'm facing an issue with setup I am using for ocassionally doing maintenance on a bunch of customer servers via remote SSH Following Setup: 1 Control Server X Arbitrary number of Customer servers set ...
user avatar
  • 101
0 votes
0 answers
35 views

Setup IP alias for GKE kubectl connection via tunneling through the "bastion" host to avoid insecure-skip-tls-verify option

In reference to this question: Run 'kubectl' commands from my localhost to GKE - but via tunnelling through a bastion host I'm facing the very same situation. I did all that is described in ...
user avatar
  • 1
0 votes
2 answers
60 views

Pass HTTPS certificates from downstream servers through NGINX proxy to client

I have a fleet of Ubuntu edge computers that host simple web HMI servers. Many are behind dynamic IPs where port forwarding is unavailable. So, to access them each uses autossh to create a reverse ...
user avatar
0 votes
1 answer
64 views

SSH Tunnel / similar setup to connect to services which are associated to private network

here is my issue. OS : Oracle Linux 7.8 Management IP(Putty accessible) eth0: 10.250.0.210 App IP (not accessible outside) eth1: 10.250.4.210 I have a website running on 10.250.4.210:80. I need to ...
user avatar
  • 3
0 votes
1 answer
75 views

ssh TOTP connection with jump host forwarding

How can I simplify this? Perhaps using agent forwarding? I have an SSH jump host with 2FA via TOTP x2 and a machine which uses 2FA as well(jump host and machine): ssh myuser@host.corp.com -L 22222:...
user avatar
0 votes
1 answer
162 views

I want to use an SSH server to provide internet connectivity with sshuttle

I have a local network containing a machine named black running Ubuntu 16 server, and a raspberry pi. The pi has two network cards. One faces this local network, and the other connects to my ISP via ...
user avatar
1 vote
0 answers
182 views

Force SSH tunnel to use a specific interface on the remote host

I'm creating an SSH tunnel to a remote service through one of our servers. This server has 3 network interfaces, and the remote service has interface-specific restrictions in place based on IP and MAC ...
user avatar
  • 403
0 votes
2 answers
33 views

Connecting to server via VPN

There is a server with connection via VPN to it (using GRE protocol). I have got a problem to connect to this VPN from home network, because GRE is not allowed by provider. But I have got another work ...
user avatar
0 votes
1 answer
401 views

Speed-optimization of Xrdp server connection when connected via SSH tunnel

I've established a connection to a server based on port-forwarded local Xrdp, through an SSH tunnel. If my understanding is correct, then I could illustrate such network as follows: ╷────<──...
user avatar
0 votes
1 answer
228 views

Using Putty/plink to connect to remote MySQL from Windows machine using Port Forwarding and multi hop SSH tunnel

I need to set up port forwarding from my local Windows machine Port 3307 to a remote MySQL server port 3306 but accessed via 2 Linux proxy servers and a Linux web server. I need to use Putty or plink....
user avatar
1 vote
0 answers
487 views

getpeername failed: Bad file descriptor

I run script from an OracleLinux 8.4 VM (with NatNetwork configured on VirtualBox) on my Windows 10 pc, to remote hosts using jump host. My PC can't connect directly to remote hosts, but need to pass ...
user avatar
0 votes
0 answers
52 views

How to open SSH tunnel to share VPN connection?

There is one Windows machine which can SSH into Linux server within VPN connection. How I can setup SSH tunnel (or anything else) on this Windows machine, which could be shared for other machine under ...
user avatar
  • 151
0 votes
0 answers
69 views

SSH from A through B, C to D using private key on B to access C and D

I'm looking for a way to access to a server (D) through 2 proxy (B and C) using SSH keys stored on the first proxy (B). My computer (A) isn't allowed to save the key. I understand the way to access to ...
user avatar
0 votes
0 answers
146 views

Running a shell script with ProxyCommand that computes an IP and starts an SSH session

I would like my SSH config to call out to a script in certain situations to resolve a different IP address than what I provide. In this situation, I don't actually want to proxy through another host, ...
user avatar
0 votes
0 answers
20 views

Disable opensshd socks to enable 3rd party socks server

I want to connect to an 3rd party socks server (Dante), thru a ssh port forward (tunnel?). But! opensshd is intercepting and handling the socks operation. (and doing a good job to) But I need to route ...
user avatar
0 votes
1 answer
532 views

SSH Tunnel(Port Forward) vs SSH ProxyJump, which one should I use in this Specific case, Me -> JumpSever -> TargetServer

I'm new to SSH Tunnel, I have read the wikibook of OpenSSH Proxy over and over, still so confused. the Goal is building a double Proxy with only SSH Tunnels(Port Forwarding) or ProxyJump (not really ...
user avatar
  • 55
2 votes
1 answer
2k views

Is it possible to have multiple users SSH tunnel to a same local port?

I have a web-app running on a particular port on a Linux EC2 instance. Only SSH traffic is allowed to that server. Can multiple clients use SSH tunnels to that server to load a webpage from that port?
user avatar
  • 149
0 votes
0 answers
134 views

Use Remmina to connect to a remote VM running on a server accessible through ssh tunnel

I wanna open my remote VM via Remmina on a local machine. The network graph is as follows: Local Machine --> Login-server --> Remote Server --> Linux VM I use Remmina and set it up as follows:...
user avatar
0 votes
1 answer
307 views

Automate ssh port forwarding using DNS

I have a number of ssh hosts (a dozen), for simplicity host1, host2, etc. I frequently need to forward port, e.g. ssh -L 8888:localhost:8888 host1 ssh -L 8889:localhost:8888 host2 ssh -L 8890:...
user avatar
  • 101
0 votes
2 answers
197 views

Remote port forward works on TCP/1194 but not on TCP/443 even though port 443 on the server is not being used

I am having a weird issue. I brought up a new Linode to act as a tunnelling endpoint. I was able to successfully remote forward port 1194 so now connections to linode-server@1194 successfully to my ...
user avatar
0 votes
1 answer
181 views

How to do port forwarding for GNS3 server (SSH tunneling)?

I have a GNS3 server, and I'm trying to add iptable rules so that when someone on my team connects on port 1100, they get routed to an internal IP such as 192.168.122.2:22. This internal IP belongs to ...
user avatar
0 votes
0 answers
90 views

Cannot tunnel AMQP traffic through SSH tunnel

I've been trying for hours and need some new input. My set-up: Ubuntu VM (UVM) running a docker container that forwards RabbitMQ messages to an external machine Local Laptop (LVM) with Windows 10 ...
user avatar
  • 1
1 vote
0 answers
70 views

SSH with a dynamically-allocated remote forwarded port -- how to find the port number

I need to establish an arbitrary remote-forwarded port to a specific local port when connecting to a server. I don't have admin rights on the server, which is a significant compute resource used by a ...
user avatar
2 votes
0 answers
39 views

SSH tunnel reconnecting after WAN change or server drop

I am fighting with autoSSH configuration. My setup VPS as a public contact point, clients will access the VPS IP to get to the server My home server running the service. This machine has dualwan ...
user avatar
0 votes
0 answers
229 views

Ssh portforwarding options are working in the command line but not when using ssh config file

This works in the command line. ssh -i ~/.ssh/id_rsa x.x.x.x -p 22 -R <IP1>:10001:localhost:9090 -R <IP2>:10001:localhost:22 But when using the ssh config file, it fails. Below is the ...
user avatar

1
2 3 4 5
17