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
0answers
28 views

SSH tunnel for MariaDB requires shell

OS - Fedora 33 I have created a user without a shell and giving them a password. useradd -s /usr/sbin/nologin dbuser passwd dbuser Using SQLyog client it authenticates but fails to connect to ...
0
votes
0answers
10 views

How to ssh a beaglebone thru internet?

I have several beaglebones running debian installed in some networks that serves as smartcontroller (IoT), running my own software. When I setup them (connected to my local network) I can access them ...
0
votes
1answer
29 views

How can I connect to PostgreSQL database on a server through an SSH Tunnel using R?

I am trying to connect an RStudio Session to a PostgreSQL database which is on a server (Digital Ocean) through a SSH Tunnel. I am new to the SSH Connections, specially using R. Systems Information: ...
0
votes
0answers
14 views

Wsl2 remote ssh connect back

I'm trying to use rsync on my dev server to download files to my local machine after checking out a branch on the dev server. Before using wsl2, I used to be able to do the following: Remote server ...
0
votes
1answer
95 views

SSH tunneling, HTTP correct response to correct client

I am using SSH port forwarding to relay HTTP traffic from personal computers of trusted remote clients to a localhost server running on a computer behind my company proxy. This computer behind the ...
0
votes
0answers
13 views

Do I need to trust the device I SSH tunnel into?

If I open an SSH tunnel to a different computer, and I don't trust that computer, is it possible for that computer to abuse the tunnel? What I mean by "abuse" is anything that doesn't ...
0
votes
0answers
18 views

why ssh local forwarding of ssh traffic does not work?

I have a remote ssh server at remote.com. On my local host, I forward all the ssh traffic to it: ssh -L 127.0.0.1:88:remote.com:22 user@remote.com Now, when I do the following, ssh just hangs: ssh ...
0
votes
1answer
28 views

Can the destination of my ssh tunnel be detected?

I have a machine called mypc connected to the network, and I want to communicate with another machine (outside of the network) called dest via an intermedia machine (also outside of the network) ...
0
votes
0answers
30 views

access local webserver via putty ssh reverse tunnel

So I have a local webserver (http://localhost:8090) running on my machine. I would like to access this from a remote server (let's say 10.10.1.1) using putty reverse ssh tunnel. I setup it like this. ...
0
votes
0answers
19 views

SSH intense tunneling causes sshd service to close the connection, while manually running /usr/sbin/sshd doesn't

SSH server runs Centos 7, and I'm connecting to it from Windows 10, via Putty. I had to workaround some VPN settings, so a great number of SSH tunnels are set (something like 2000 combinations among ...
1
vote
0answers
62 views

How to avoid TCP/IP Fingerprinting

I have the following setup: +-----------+ SSH Tunnels Over Socks5 Proxy +--------------+ | | | | | Linux PC +-------------------------...
0
votes
0answers
16 views

parallel ssh over socks proxy or jump server

I have multiple servers which is accessible over a jump server. Is it possible to send parallel ssh requests towards multiple server over jump server or socks proxy (preffred) Is there any other ...
0
votes
0answers
23 views

VPN to access CG-NAT home network

I have a few smart devices at home that I usually control/monitor in the local home network. I've blocked internet access for these devices for security/privacy reasons. I do not have a static IP and ...
0
votes
0answers
23 views

Putty and ssh double-tunnel not working, yet with Cygwin OK

I have a Cygwin double-tunnel config that allows me to connect to a DB server thru an SQL Plus client utility: Host dbserver001b ProxyCommand ssh -l ser -W %h:%p dbserver001b.domain.be Via the same ...
1
vote
1answer
73 views

Tunneling using Plink to localhost on Windows

Currently im using following command (in cmd) to tunnel using PuTTY, and its working fine: putty.exe mylinuxuser@10.24.0.5 -P 22 -L 10.24.0.200:2022:localhost:22 10.24.0.5 = my application server (...
0
votes
1answer
85 views

Downloading a Directory via SSH through JumpHost server to the destination server

Updated statement. I ssh through a jumphost and into a destination server: ssh -i jumphost.pem user@jumphostip then I ssh into the destination from the jumphost: ssh -i server_dsa user@...
0
votes
1answer
30 views

SSH reverse tunnel established but unable to connect it

I have a pc at home without a public ip, so I want to establish a reverse tunnel to another server with public ip, then connect to my home pc through the server. However, I can't connect to my pc ...
1
vote
1answer
28 views

ssh tunneling fails suddenly on MacOS

I have a ssh script that looks like this. #!/bin/bash user="jumpuser" host="??.??.??.??" port="34" x="ssh $user@$host -p $port " x+="-L 8001:??.??.??.??:...
0
votes
1answer
59 views

VNC Tunnel over SSH

I want to create a VNC connection over SSH from a client at home to a jump host at work. From the work private network I want to access to client through the jumphost. How to accomplish this. We ...
1
vote
1answer
30 views

How do I change this Unix command to run in PuTTY or Plink on Windows

ssh -L 5432:anRDSDATABASE.rAndomLe34.eu-west-2.rds.amazonaws.com:5432 -o ProxyCommand="ssh -W %h:%p admin@12.345.67.891" ubuntu@12.34.5.678 I am struggling to work out how transform the ...
0
votes
1answer
70 views

Are ssh connections initiated from my local machine to remote bidirectional?

I just recently setup a VPS server for myself and I did take all the necessary precautions when I set it up. I intend to access access a website on my local machine using a command like ssh -L 8080:...
0
votes
1answer
30 views

How to exclude a specific port from Nginx

I have two apps running on the same server, app1 and app2; but for app2 I don't want to serve it with Nginx. I want it to be accessible only through ssh tunneling. I have configured Nginx to capture ...
0
votes
0answers
18 views

Connecting to PostgreSQL through a SSH tunnel, I get data for a while and stops, but SSH connection is still alive

Im getting data from a PostgreSQL DB through an SSH tunnel: autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -L 9999:localhost:5432 root@mypostgresip The data ...
0
votes
0answers
15 views

get request to come from proxy when connected to aquid through SSH tunnel

I'm in Scotland and wanted to watch an english TV program. Ive got a backup server (rasp pi) with a relative in England I connect to squidOnPi through a ssh tunnel (passwordless login already ...
0
votes
1answer
30 views

I can't connect to reverse SSH from another server

New to all this stuff, sorry if it seems basic. I have a Raspberry Pi creating a reverse SSH tunnel (over the Internet) to a router, which reroutes to a RPi that I use as a server. Tunnel creation : ...
0
votes
0answers
42 views

Difference between SSH Tunnel and HTTP Tunnel

I am trying to understand the difference between SSH port-forwarding/tunneling and HTTP tunneling. So when I try RDP over SSH tunnel it works, but when try the same over an established secure HTTP ...
0
votes
1answer
51 views

SOCKS proxy via OpenSSH on Windows 10 not connecting (connecting to hyper-v guest)

In the attached image I have established an SSH tunnel that should allow me to resolve network requests through the remote (in this case a virtual machine containing Ubuntu). However I am unable to ...
0
votes
0answers
11 views

Why SSH tunnel disconnects even I have higher values for ServerAliveCountMax?

I have a shared server where I have created a SSH tunnel to another server I have for connecting to to MySQL ssh -o "ServerAliveInterval 60" -o "ServerAliveCountMax 172800" -L 3307:...
0
votes
1answer
26 views

How to establish a secure VNC tunnel between two hosts behind NAT?

How can I establish a secure tunnel for VNC from my home computer my computer in the office, both hosts are behind NAT. I do have ssh access to the machine at work (I have established a reverse ssh ...
0
votes
0answers
135 views

vnc connection over jump host with ssh

Assume three systems: A,B & C A established a reverse SSH connection on :6666 to B B can access A fine by ssh user@locahost -p 6666 C is in the same LAN as B and should be able to access A by VNC....
0
votes
0answers
49 views

SSH port forwarding throwing 404 Not found

I need to connect to a server "restricted@server.com" through a jump server "jump@server.com" to which I already have access from localhost. I have tried, ssh -L 12345:restricted@...
4
votes
1answer
2k views

How to ssh-forward ports <1024 on Windows 10?

I am trying to set up an SSH tunnel on Windows 10 (version 10.0.19041.508, the built-in OpenSSH is OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5) and I have the following error: PS C:\> ssh root@...
3
votes
1answer
594 views

SSH tunnel not working (Firefox for Mac --> remote Debian SSHD)

Running Firefox on a Mac. Debian SSHD running on remote computer. Firefox won't connect, not sure why. I am able to ssh into the remote system on the command line on port 44. Do I need to change ...
0
votes
0answers
266 views

How to use a dynamic port forwarding tunnel via a bastion/jump server using PuTTY without WinSCP

I have a requirement to connect to a remote JMX server via an SSH bastion/jump server. I can successfully use a Linux ssh client to achieve the desired result and also can use a PuTTY session ...
0
votes
0answers
29 views

What ssh arguments do I need to forward another network interface's traffic?

On my server I have two network interfaces. They're both connected to different networks. From Network_A I am trying to access an RTSP stream on port 554 on Network_B. Network_A and Network_B are not ...
0
votes
0answers
104 views

VSCode SSH triple hop on different usernames and ports

I'm working on code on my server which is within my corporate network firewall. The way I do this is as follows: I ssh to my home gateway myhomegateway with user user1 and port 11111 which has a ...
0
votes
1answer
714 views

Unable to tunnel port using SSH and localhost.run on Kali Linux

I've got this problem that whenever I try to tunnel a Port using ssh and localhost.run using:- ssh -R 80:localhost:8080 ssh.localhost.run I get this:- ** your connection id is 95c80293-xxxx-4c49-...
0
votes
1answer
95 views

SSH tunnel via JumpHost and additional port mapping?

I have the following layout. A (machine behind NAT/Firewall) B (server for reverse ssh connections - bastion host?) C (my laptop) A forms a reverse ssh to B /usr/bin/autossh -M 0 -N -q -o "...
0
votes
0answers
266 views

Why SSH with SSHPASS doesn't create a tunnel

I want to connect to a server through the ssh tunnel without having to enter a password. When I try it without sshpass command, it works. Example 1: (works fine) ssh -f -N -L 2001:server1.com:22 ...
0
votes
0answers
379 views

Speeding up an incredibly slow sshfs going through login ssh tunnel

Sorry if this is answered somewhere and I have missed it. I lack some understanding in how these things work in order to safely choose the best solution. I, like many others, am working from home. I ...
1
vote
1answer
65 views

Reverse connection to remote database

I have a very large database on my home server. But my ISP doesn't allow me a port forward. Is there a way to reverse the connection from my web hosting server to my home database server which doesn't ...
0
votes
0answers
358 views

nginx reverse proxy for ssh reverse tunnel?

192.168.1.100 (reverse proxy and ssh tunnel server) : centos 8 + sshd 8 + nginx 1.14.1 + firewalld disabled 192.168.1.101 (local web server) : windows 10 + web App (port 80) exposed to remote access ...
0
votes
0answers
52 views

How access public websites via Local SSH tunneling? [duplicate]

I just learned about different types of SSH tunneling. First off the list was local ssh tunneling. To try it out, I ran this command, ssh -NL 6454:google.com:80 host but it didn't work as expected, ...
0
votes
0answers
36 views

How to write ssh/config for $ ssh -t -p gate ssh server

I am trying to translate a ssh command using psudo-terminal and port to the ssh/config in order to be able to access using nautilus or other managers. The command runs perfectly in the terminal, I am ...
1
vote
0answers
95 views

autossh, systemd, ssh tunnel for MySQL

I want to use systemd to create an SSH tunnel to allow access to MySQL. I want this connection to be available to other users after I log out. I know I've got a problem because the syslog (Ubuntu 18....
0
votes
0answers
32 views

SSH Socks Proxy not changing public ip address

Hey everyone I used the command ssh -D 9090 username@ipv4_address I changed the proxy settings on firefox to the localhost 9090 but it doesn't change the public ip address I'm using ubuntu 18.04 and ...
0
votes
0answers
65 views

SSH Reverse Tunnel keeps disconnecting with activity

I set up an SSH Reverse tunnel using ssh -o StrictHostKeyChecking=no -R 2222:localhost:22 username@remoteserver.com. The tunnel connect to the remote server and opens port 2222. I connect into the ...
5
votes
2answers
2k views

SSH forwarding through PuTTY not working on Windows 10

I'm trying to set up an SSH tunnel in PuTTY to connect to a RHEL server's database using MySQL Workbench over SSH. I set up an SSH session on port 22 to the server, then under SSH > Tunnels, I ...
0
votes
0answers
11 views

ssh tunnel to forward ports to a virtual machine running in the cloud

I have got a network device (running linux, I have got no shell access to it) which is connected to my local network. In addition to this I do have a Windows application running which interacts with ...
0
votes
0answers
28 views

tunnel HTTP to access internal site

All - I want to access internal website by setting up ssh tunnel. My only access path with ssh is: localhost -> host1 -> host2 From host2, I can access internal site (with a browser). For ...

1
2 3 4 5
11