Questions tagged [ssh-tunnel]

An SSH tunnel allows forwarding any traffic over the SSH protocol. This is used to secure the transmission or allow data to be exchanged where network restrictions are in place.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

How to configure a jump server to allow access to a local server web GUI from a remote client machine?

I have an EVE-NG VM running in ESXi at my house for building network topologies in a lab environment. I would like to be able to access this VM from outside the local network without using my router ...
cmerch's user avatar
  • 1
1 vote
0 answers
38 views

How SSH port forwarding over the internet [closed]

I want to access my remote devices SSH server Attached My remote PC (mostly a router or Raspberry Pi No internet to devices) over the internet (my PC has Internet) using my laptop. Anydesk TCP ...
Shannon's user avatar
  • 11
1 vote
1 answer
44 views

Correct way to end ssh tunnel

I frequently need to connect to a database instance on AWS, so I use an SSH tunnel. I can create one with the following command: ssh -N -L 12345:some-database.rds.amazonaws.com:5432 admin@bastion....
Mike Christensen's user avatar
0 votes
1 answer
175 views

is it possible to OpenVPN connection UDP through SSH tunnel?

Hi i search a lot on the Internet, especially in this site and read more post and articles about using OpenVPN connection through SSH tunnel but all tutorials about using TCP protocol to do that. in ...
minttux's user avatar
  • 101
1 vote
0 answers
105 views

psql hangs on connect over SSH tunnel proxy

I am proxying my connection to a PostgreSQL server through an SSH tunnel. [laptop] ---(ssh)--> [arbitrary linux server] --(TCP 5432)--> [postgresql server] ssh user@arbitrarylinuxserver -L5432:...
Ian Ling's user avatar
  • 161
0 votes
1 answer
627 views

What permissions are needed to bind a tunneled ssh port on the "remote end" post connection? Error is "bind [127.0.0.1]:<port> Permission denied"

As many others have encountered, I've got a system behind a "remote" DHCP router that needs to connect reliably with a "local" system using reverse port mapping for various reasons ...
Richard T's user avatar
  • 477
0 votes
1 answer
286 views

Is it still possible to RDP through SSH tunnels from Windows 10?

I am trying to use Microsoft Remote Desktop client on Windows 10 to connect to a windows server 20xx in a data center through an SSH tunnel initiated from an SSH client on the windows 10 computer. I ...
lopass's user avatar
  • 11
0 votes
0 answers
43 views

SSH connection via tunnel (relay)

I have n ssh clients that establish a connection to a SSH server via the following command /usr/bin/ssh \ -N \ -i "/home/tunnel/.ssh/id_rsa" \ -R "/home/tunnel/sockets/client_name....
flodo's user avatar
  • 1
1 vote
0 answers
129 views

Reverse SSH tunnel with putty

I am trying to set up a reverse ssh tunnel using putty: I have a dev machine that IT will not open any ports on and I have a spotfire.server.com machine that has open ports. What I want is the ability ...
user avatar
0 votes
1 answer
140 views

ssh port forawding: cannot tunnel to a third server

I want to connect to a server (C; ip=1.0.0.3) from my desktop (A;ip=1.0.0.1) via another server (B; 1.0.0.2). I must need port forwarding to run ipython notebook remotely on server C from my desktop ...
user43280's user avatar
1 vote
1 answer
313 views

Can I use the SSH tunnel under a VPN as a VPN server?

I am work at home (China mainland). After connected (via VPN) to the school IP, I got the permission to ssh my computer in campus, but cannot visit google.com. However, my computer in campus can visit ...
chongkai Lu's user avatar
0 votes
1 answer
258 views

SSH tunnel to MS SQL Server works with PuTTY but not from ssh command line

I'm trying to create an SSH tunnel to MS SQL Server from my Windows 10 local computer. When I create a tunnel with PuTTY, it works flawlessly. But when I create the same tunnel in command line (...
BigBob's user avatar
  • 121
0 votes
1 answer
287 views

Use nginx to serve SSH on different virtual server than HTTP(S)

My question is a bit different than serve ssh & https at the same time or redirect http requests to ssh. I don't want to multiplex the stream. I do have a virtual server to "spare" ...
Panayotis's user avatar
  • 103
0 votes
1 answer
228 views

SSH connection with Virtual Smart Card login

I'm using a virtual smart card in order to connect to a Windows remote server via RDP. When I do this it prompts me to insert a PIN, and so I'm done. The account coupled to this smart card is an admin ...
exrezzo's user avatar
  • 101
0 votes
0 answers
216 views

SSH Tunnel (Local Port Forwarding) fails because of Docker

I am trying to enable local port forwarding between my local machine and a remote vm. Inside of this vm runs a docker container which exposes port 7070. Essentially I want everything that happens on ...
only-a-user's user avatar
1 vote
1 answer
100 views

SSH connection established by the remote server to my laptop

I have a vm running ubuntu. I use that vm by connecting to it via SSH. My problem begins with some policy enforcement that blocks all incoming traffic coming from the internet. The vm can make ...
johni's user avatar
  • 2,424
0 votes
0 answers
149 views

Reverse SSH in Git Bash fails with `connect_to localhost port X: failed`

I'm trying to help my coworkers create a reverse SSH tunnel from their local PC to our remote development server. The reverse SSH tunnel works perfectly for me. It's not working for them. The command ...
tvanc's user avatar
  • 173
-1 votes
1 answer
287 views

I'm doing SSH Reverse Tunnelling and can't connect to the tunnel

I have a Windows 11 box running IIS on 127.0.0.1 on port 80, which is connected to the Internet through a CGNAT. I also have a VPS from Linode(a VPS supplier). The VPS's IP address is 139.162.19.185. ...
Sugumaran Veejakumaran's user avatar
0 votes
0 answers
179 views

how do i set MaxStartups for specific user not whole system

i want to set MaxStartups for specific user in /etc/ssh/sshd_config but I cant do something like that since "Match" doesn't support MaxStartups keyword : Match User test MaxStartups 1
DIC3's user avatar
  • 11
1 vote
1 answer
239 views

What is the easiest way for me to access my IPv6 server from IPV4?

I have a Nextcloud server that works fine, but I noticed that I cannot access it from certain places. What all of these have in common is that they seem to use IPv4. This would make sense, as IPv4 is ...
Sebastián García's user avatar
0 votes
1 answer
350 views

ssh tuneel, forward port to my wildcard domain name

So hello, i am hosting in my home home server web server, and i would like to acces it globaly so my idea was to setup ssh tunnel the setup is as follows my home server has web server on port :8080 ...
Picarica's user avatar
0 votes
0 answers
64 views

specify target interface on for ssh tunnel on the other endpoint

I want to configure/maintain two routers on different networks, but both are directly connected to a raspberry pi. The configuration should then happen remotely through a tunnel via that RPi. One ...
Bernhard Bodenstorfer's user avatar
0 votes
0 answers
65 views

Putty autoconnect when connection is down / or other ssh tunneling alternative?

I've been using putty to ssh tunnel into my server so i can directly print from a web application into a local net printer in my business, and everything works well, the only problem is, putty gets ...
nando-ando's user avatar
0 votes
1 answer
1k views

OpenSSH_8.9p1 Ubuntu cannot establish connection to Cisco-1.25. Invalid key length

This problem has already been discussed numerous times, but I am opening this thread because this one is slightly different. This is the log when I try to connect to the computer with IP 192.168.5.2 ...
Jaime Dalton Carbone's user avatar
0 votes
0 answers
44 views

How to use ssh tunnel just for specific sites

I have ubuntu server that i use as ssh tunnel to avoid internet filtering but some sites are filtered in my server so I bought another server in another country and i want to redirect those filtered ...
shedaslatjoo's user avatar
0 votes
1 answer
181 views

Log in with either a password or a public key. But not both at the same time, and limit the PAM authentication to the root user

I am having difficulties configuring the ssh server. The scenario is as follows. The root user is the only one using google F2A (PAM), the restricted user only connects by password and the rest of the ...
Jaime Dalton Carbone's user avatar
0 votes
2 answers
171 views

Copy files between VMs using localhost as jumpbox

I have encountered SCP through SSH-forwarding in cases where VM-A <---> VM-B <---> VM-C and a file is needed to be transferred from A to C or vice versa, ie. B is the Jumpbox in this ...
vish4071's user avatar
  • 103
0 votes
0 answers
203 views

System proxy in widows 11 not working

I'm using SSH tunneling to connect my laptop with Windows 11 OS to the internet through my own VPS. I use an SSH command like ssh root@server-ip -p 2300 -D 12345 (I've already changed the default SSH ...
Babak's user avatar
  • 1
1 vote
1 answer
104 views

How does one add different local bind addresses in PuTTY?

I have the Windows 10 included SSH client installed. I use the following command (but different IPs and ports) in PowerShell to set up an SSH connection to a remote server. ssh -l username 1.2.3.4 ` ...
user avatar
0 votes
1 answer
69 views

How to combine these commands to SSH into remote machine?

I have three machines, let's call them Work, Home and Laptop, all on different networks. My goal is to remotely SSH into Home from Laptop. This is how I do this currently: Connect all three machines ...
Train Heartnet's user avatar
0 votes
0 answers
132 views

sshuttle paused in the middle of setup

I need to send all of my traffic from the first server to another one, for that I used shuttle but after executing the following command sshuttle -r username@sshserver 0.0.0.0/0 -vv it paused in the ...
pouya yousefi's user avatar
1 vote
0 answers
482 views

socks5 proxy + proxifier doesn't work for some connections

I live in a country where many foreign websites are blocked. I have been using a socks5 proxy by SSH dynamic port forwarding and Proxifier to circumvent this restriction. Recently, I found that some ...
Terry's user avatar
  • 11
1 vote
1 answer
280 views

SSH reverse tunneling to a linux machine

I have essentially the same configuration as this question (relevant image below): where I want to be able to ssh into RPC-2 from either LPC-1 directly and from any arbitrary machine via LPC-1. I ...
SIRCAVEC's user avatar
  • 113
0 votes
0 answers
47 views

Win 11 Home. Unable to connect to tunnelled connection

I have just purchased a new laptop with Win11 Home installed. I use PuTTY to create a tunnel from the remove computer "remote:3389" to "127.0.0.2:3390". When I try to connect a ...
Robert S's user avatar
  • 827
0 votes
0 answers
279 views

Accessing CRC (OpenShift) on a remote server: "openshift crc ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused"

I ask you for help because I was unable to access the OpenShift web console, installed in a VM (CentOS), from my pc (Ubuntu). I am not an expert on linux, so please excuse me if I make any mistakes in ...
iron9's user avatar
  • 1
0 votes
0 answers
494 views

SSH tunnel to database server over multiple hops

SSH tunneling is easy to accomplish: ssh -D1234 host But we have a more specific infrastructure Host 1 (Remote server placed in my company) Host 2 (Local server inside Host 1 network) Host 3 (...
RyadPasha's user avatar
  • 101
0 votes
2 answers
796 views

How to access the SSH through another server

I have a Linux server (A) (With IP X.X.X.X) that's accept SSH (in port X) only from another Linux server (B) with specific IP Y.Y.Y.Y. Obviously, if I login in the server B (From whatever IP) I can ...
h2odev's user avatar
  • 113
0 votes
1 answer
1k views

"Connection closed unexpectedly" VNC

I've been following NetworkChucks new video about setting up Kali linux on Linode and connecting through vnc viewer. When i try and actually connect to my server it says that the connection has closed ...
David Brownhill's user avatar
0 votes
1 answer
383 views

Cannot Connect VNC through SSH to Windows from Unix

I mostly have Unix devices and use VNC through SSH to connect to all of them. However I have one Windows 10 PC and I cannot remote into it. On the Windows 10 PC, I installed TightVNC Server (Version ...
Junto026's user avatar
1 vote
0 answers
303 views

WSL2 creates local listener for remote port for SSH remote tunnel

I currently try to create an SSH tunnel between my Windows system and a WSL2 instance running on it. My goal is to have a Burp Proxy running on Windows that I can access from both Windows itself as ...
fleitner's user avatar
  • 111
0 votes
1 answer
236 views

How to local forward multiple hops?

I'm trying to access web server running on serverB and port 10010 from host machine (my PC). In short, the server is running on serverB's localhost:10010. To do that, I have to local forward from ...
sungjun cho's user avatar
1 vote
1 answer
290 views

Remote port forwarding through ssh stopped working on windows server 2019 after update

Before the recent update the following command worked correctly and opened a ssh tunnel: ssh -R "remote-port:localhost:local-port" remote-ip which I could test by running locally ncat -l ...
ciamej's user avatar
  • 131
0 votes
1 answer
2k views

Transfer files from one remote server to another remote server in WinSCP

I want to transfer some files from one remote server to another remote server. The issue is these servers are accessible to be by doing hop from a jump server. I am able to get into these servers ...
Karu's user avatar
  • 1
0 votes
3 answers
2k views

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

srv_pub srv_target +-----------------+ +---------------------+ Internet | VPS | VPN 10.8.0.0/24 | HOME SERVER | -------...
Paul Serikov's user avatar
0 votes
0 answers
136 views

Linux ssh reverse tunnel connects without endpoint

I am using ssh reverse tunnels (using AutoSSH) to allow incoming connections on certain ports on my Internet server, to be tunneled to Local Servers on my house LAN. My problem is that the SSH accepts ...
Bart Kindt's user avatar
-3 votes
1 answer
226 views

Use ssh-keygen on windows machine and use it on linux machine

We have a scenario when we need to generate ssh key with ssh-keygen on a windows machine and copy it to linux instance: echo -e 'y\n' | ssh-keygen -t rsa -f /tmp/temp -N '' >/dev/null 2>&1 ...
A1001's user avatar
  • 1
0 votes
1 answer
713 views

How to connect to a device that is inside a VPN using remote desktop?

I've been trying to connect to a Macbook using a remote desktop (Jump Desktop Connect, being precise) over the internet. I'm not in the computer's local network. However, turning on the VPN in that ...
yamilelias's user avatar
0 votes
1 answer
41 views

Connecting sites together to use DHCP

I am working in a company with 3 sites. London (A) is the main site with 2 subnets separated with NAT network. Manchester (B) basic broadband router act as DHCP and DNS for local clients Dublin (C) ...
Mehdi Singer's user avatar
0 votes
1 answer
205 views

SSH into Namecheap shared host

I'm trying to connect to my Namecheap shared host server via SSH I imported the pub/private key and authorized it like so: Let's VM IP = 11.11.11.11 When I SSH, I kept getting ➜ Desktop ssh webedcwp@...
code-8's user avatar
  • 416
1 vote
1 answer
25 views

Web interface of tunneled instance unreachable

Situation: I'm using windows 10 if that matters. I'm on a work VPN in order to reach some Linux servers with webservers installed on them. I also have WSL2 installed on my system. Using bash I am able ...
JustLudo's user avatar
  • 123

1
2 3 4 5
12