Questions tagged [ssh-tunneling]
An SSH tunnel provides an encrypted channel based on the SSH protocol.
699 questions
0 votes
1 answer
55 views
ssh in mac error out suddently with ssh usage error message
My .ksh scripts in my mac usually run successfully, and until yesterday were initiating an ssh connection with the following command successfully: ssh -o StrictHostKeychecking=no -o ...
0 votes
0 answers
91 views
Slow SSH tunnel data transfer when combining two SSH connections
I have a server called publicserver on the public internet, and a second server (called privateserver) behind a NAT firewall. I also have a client PC (client, running Linux) behind another NAT ...
0 votes
0 answers
112 views
Connect to docker container through host via ssh without RemoteCommand
I have a server that runs multiple docker containers. I can access my server via SSH, and have set up my ssh_config to allow me to ssh into certain containers that I regularly access: Host ...
0 votes
1 answer
111 views
Unable to see when user logged in via VSCode
I have a server that a few people log in to but I realized that when checking with last and lastlog that it doesn't list ssh done with VSCode but it works for people who use the terminal. How can I ...
4 votes
1 answer
177 views
How can I reverse forward git ssh when my config requires a Yubikey
I frequently need to log into a VM that has no direct access to the internet or our source code repo. In the past I have circumvented this with a reverse port forward over ssh but now my problem is ...
1 vote
1 answer
120 views
How I can allow my user to be connected via `localhost` when I ssh tunnel my Db connection?
In a server that I do not have admin access I managed to make an ssh tunnel as: ssh -N -L 33308:127.0.0.1:3306 [email protected] Then I attempt to connect into mysql via the tunnel: mysql -u testusr -...
1 vote
2 answers
837 views
Connecting to an SSH server behind NAT
I have a situation where I've got a target machine behind a standard home router/firewall/NAT configuration (we'll call it target), and a machine with a known public IP address (we'll call it server). ...
0 votes
1 answer
266 views
Tunnel all https traffic from server through remote to bypass firewal
I have a remote machine I ssh where I'm running code that needs to access a specific https url (https://api.trustedservices.intel.com/sgx/certification/v4/qe/identity for example, or any other ...
0 votes
0 answers
99 views
SSH - How to tunnel the entire network
How can I convert the following command (sshuttle) into an SSH tunnel command? sshuttle -r [email protected] 172.16.20.0/24 ssh [email protected] The only method I know for SSH tunneling involves ...
-2 votes
4 answers
283 views
How can I access SSH from a cruise ship?
I took a cruise. I purchased Internet access with my cruise so that I can service my clients if need be (Linux cloud servers). The Internet access worked fine but wouldn't allow me to do SSH. I ...
1 vote
0 answers
141 views
Git ls-remote to github fails with classic "SHA-1 not supported" on tunneled ssh session but `ssh -T [email protected]` doesn't
Cross-posting from here as suggested by the community. A bit of context: At my company we do tunneling to ssh into EC2 boxes. This tunneling command is as usual, uses ForwardAgent and the proxycommand ...
0 votes
0 answers
197 views
SSH port forwarding was working, now it's not
I have a pair of CentOS7 servers in a production environment where the server on the internal network opens up an ssh SOCKS proxy tunnel to the server on the edge network to allow the internal server ...
0 votes
0 answers
137 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> ...
0 votes
1 answer
133 views
Enabling Java JNDI LDAP connection to Active Directory using SSH through remote SSH tunnelling
Firstly, I would like to validate my idea for the PoC, specifically I would like to understand whether this can be possible or not and furthermore some pointers with regards to how it can be done ...
0 votes
0 answers
34 views
Give an user the permission to open an ssh tunnel with a specific port < 1024 (privileged port) [duplicate]
If you try to open a tunnel with a normal user with a port < 1024 with for example: ssh -L 127.0.0.1:1023:someip:someport user@host -N you can't because you get bind [127.0.0.1]:1023: Permission ...