Skip to main content

All Questions

0 votes
0 answers
27 views

SSH tunnel error: sys_tun_open: failed to configure tunnel (mode 1): Invalid argument

I'm trying to create a SSH tunnel between 2 Raspberry PI's both running Debian Bookworm. I try to establish the connection using the command sudo ssh -w0:0 <user>@<ip> -p<ssh port> ...
user613537's user avatar
0 votes
0 answers
101 views

SSH tunneling over cloudflare tunnel for linux server

I need to connect to my linux server over cloudflare tunnel to protect my server. I have some user and need it for this. can every one help my? I tried this commands: mkdir Argo && cd Argo ...
ali's user avatar
  • 1
0 votes
0 answers
22 views

Treatment of parameters %h:%p for switch -W in multi hop jumps in ssh

With ssh -oProxyCommand="ssh -W %h:%p -oProxyCommand=\"ssh -W %%h:%%p -oProxyCommand=\\\"ssh -W %%h:%%p root@jmp1\\\" root@jmp2 \" root@jmp3" root@jmp4 you can do a ...
Matthias Altmann's user avatar
0 votes
0 answers
2k views

Permanent SSH tunnel through bastion host

I have the following command that I run locally on my mac to be able to access a DB server trough a bastion host: ssh -L 9234:MYSERVERIP:5432 USER@MYBASTIONIP -i MyBastionPemKey.pem that works just ...
Diego's user avatar
  • 101
1 vote
1 answer
1k views

Reverse SSH works but not passwordless. Getting password prompt

I have two systems Personal MacOS Laptop to be referred as system-Laptop having user laptopuser. It does not have "NAT" Server Linux to be referred as system-Server having user serveruser ...
Ashar's user avatar
  • 511
0 votes
1 answer
67 views

Access NATed remote system through an existing ssh connection

There is a machine RemoteA that is behind a NAT somewhere on the internet. It can connect to an ssh server. There is another machine called RemoteB that also has a connection to the same ssh server. ...
garg's user avatar
  • 101
0 votes
2 answers
292 views

Dyamic tunnel troubleshooting

Goal: Configure Ubuntu and Firefox to SSH into a remote Asus router and access the remote router's configuration GUI via Firefox. top from the remote router returns: PID PPID USER STAT VSZ %...
gatorback's user avatar
  • 1,394
0 votes
2 answers
1k views

Tunnel on remote MS-windows port 443

I need to create a tunnel in a remote MS-windows, so the port 443 in MS-windows is redirected to a remote target on port 443. What I'm trying to do is this, from my remote server: ssh -N -R 443:...
luandrea's user avatar
  • 121
0 votes
1 answer
944 views

Clarifications for SSH tunnels over HTTP (or HTTPS)

I noticed that when I create a tunnel locally from my PC to the remote one, for some devices (generally routers), the connection via http or https does not take place. I get a pop-up that says: The '...
vincenzogianfelice's user avatar
2 votes
0 answers
1k views

ssh set up gre tunnel

I'm trying to create a GRE tunnel between a local Linux Mint 18.3 VM ("ServerA") running in my VirtualBox, and a remote Ubuntu 18.04 server ("ServerB") running in another location. A firewall is in ...
Rusty Lemur's user avatar
0 votes
1 answer
646 views

How do I create a persistent tunnel device in sles15 (with or without wicked xml config)

I'm trying to simplify some of my configs for sles15, pushing out tunnel configs to my machines via ansible. Currently whenever I configure a tunnel, I do it on the fly using ssh from the machine ...
Peter Turner's user avatar
  • 1,694
0 votes
1 answer
2k views

Java KVM Console with an SSH Tunnel Through a Jumphost

I'm trying to use a KVM Console via an SSH tunnel and I'm getting a Connection Refused Java Error. Here is what I'm doing: On my Macbook I am establishing an SSH tunnel to my remote server via a ...
Alby's user avatar
  • 15
0 votes
1 answer
331 views

SSH: instruct backgrounded tunnel to exit on broken pipe?

I frequently start background SSH tunnels using the ... -f -N -L ... options. This works great, until for example I sleep my machine, or my VPN credentials expire, when the tunnels stop working and I ...
qwzy's user avatar
  • 101
1 vote
0 answers
1k views

How to keep reversed SSH tunnel alive and safe

I need to SSH to a computer that is behind a NAT. To this end a reverse SSH tunnel from that computer (with SSH server installed) is established to my publicly visible server (middleman.example.org): ...
user1876484's user avatar
0 votes
1 answer
1k views

ssh reverse tunnel & gateway ports: forwarding users real (public) IP address?

I'm using a reverse tunnel to a public vps so users can connect to my machine at home. However, due to the reason the reverse tunnel works, their IP addresses are shown as local (127.0.0.1) to my ...
simplex123's user avatar

15 30 50 per page