Questions tagged [ssh-tunnel]
An SSH tunnel leverages the SSH protocol to transport unencrypted data through an encrypted connection.
864 questions
0 votes
0 answers
83 views
How to forward a port by using PuTTY and the connection to the server is made through a (SOCKS) proxy?
I have setup a PuTTY connection to use a SOCKS 5 proxy in order to connect to a remote machine. However port forwarding does not work (for me) in this scenario. I have setup an identic connection ...
1 vote
0 answers
72 views
ssh MySql query from Windows command line returns MySql usage information
From a Windows command line I am connecting via OpenSSH to a remote server to run a MySql query and save the output to a file Here are the iterations of the command I have attempted. ssh [email protected] ...
0 votes
0 answers
112 views
aws ssh tunnel to valkey cluster via EC2 ubuntu not working
I have a Valkey cluster I am trying to connect to from my local Windows machine via an SSH tunnel and I would appreciate some help troubleshooting since I am unable to reach the cluster. What I have ...
0 votes
2 answers
296 views
Unable to connect to server through ssh tunnel
I am attempting to connect over the internet to a service that is listening on a port on a remote machine behind a router, through an ssh tunnel. I have root privileges on local machine, remote ...
0 votes
0 answers
103 views
SOCKS5 backconnect connection vulnerabilities
What are the major vulnerabilities of allowing/utilizing SOCKS5 backconnect connections? I am familiar with SOCKS5 SSH tunnels (e.g., ssh -N -D 8080 [email protected] -p 22). I am trying to ...
0 votes
1 answer
135 views
SSH is trying to reopen a port (for port forwarding) even when not specified
I can start an ssh to a server of mine via: ssh -L 7777:localhost:7777 other_args... to do port forwarding. However, if have observed that, if I close the ssh session, and start a new ssh session in ...
0 votes
1 answer
3k views
nfs v4 mount failing with operation not permitted over ssh tunnel
I have two Ubuntu Linux machines. One server and other client. The server is hosting a nfs v4 server sharing the /nfs-share directory. I am attempting nfs v4 mount over ssh tunnel for the following ...
0 votes
1 answer
362 views
pip install using SSH reverse tunnel through a jumphost
I've searched for an answer to this, but haven't had any luck. I'm trying to install some PyPi packages on a server(tachi) which does not have internet access, and it is only reachable through a ssh ...
0 votes
2 answers
270 views
SSH connection drops when executing long-running command, but not when idle
I connect to some production Ubuntu systems through a bastion host using SSH-tunnelling. Recently, I have found that when executing long running commands on the production systems (eg. backup and ...
1 vote
1 answer
379 views
VSCODE remote ssh editing cannot find my host
in terminal I do ssh [email protected] or ssh [email protected] and it works in VSCODE I do the same in Connect to Host in the remote-ssh plugin and It does not work error: Could not establish connection ...
0 votes
0 answers
326 views
What does "Connection" mean in the context of Ngrok?
I have a self hosted miniserver at home, on which I run a tcp tunnel for ssh using an Ngrok client. On the ngrok usage page https://dashboard.ngrok.com/usage, I'm hitting free-tier limits for several ...
2 votes
1 answer
400 views
Auditing for SSH jumphost and socks proxy
Problem: For tech support activities, technicians must log into customer systems using customer-provided credentials, but we need to record which technician connected to which system for security and ...
0 votes
0 answers
232 views
ssh proxy not asking for certificate passphrase on jump server
I am trying to do the following: Keep a "master" private key on my Windows machine and move all my keys and connections info into a multipass ubuntu 24.04 instance (hosted locally via VM, ...
0 votes
2 answers
184 views
Apache VirtualHost Config: Require local and accessed only through SSH Tunnel
I have an apache web server working with a subdomain subd.site2.com, it works with the domain without problem. But I need to implement a temporal configuration to make http://subd.site2.com/ run only ...
0 votes
0 answers
104 views
How do I create a limited user that can only do SSH port forwarding?
I need to create a user on my server that is restricted to only performing SSH port forwarding. This user should not have any other capabilities, such as reading files or executing commands. The ...