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
-3 votes
1 answer
31 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 ...
user avatar
  • 1
0 votes
0 answers
13 views

Transfer keys for SSH tunnel

I have a server used for SSH tunnels, I'll dismiss this server and I need to move keys in order that clients can connect to the new one without any reconfiguration. I tries to copy the file .ssh/...
user avatar
  • 1
0 votes
1 answer
25 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 ...
user avatar
0 votes
0 answers
22 views

If there is reverse SSH tunnel between two LANS located 5 miles apart will the dig command results be the same if ip addresses are different?

I believe a former biz partner has created a reverse tunnel linking our separate LANs bc s/he formerly had login credentials for both LANs and is routing my email traffic containing strategic customer ...
user avatar
0 votes
1 answer
29 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) ...
user avatar
0 votes
1 answer
18 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@...
user avatar
  • 396
1 vote
1 answer
21 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 ...
user avatar
  • 123
0 votes
1 answer
84 views

Locally edit remote directories/files via ssh tunneling

As the title suggests I want to edit on my local machine (Machine A) files that are in a server (Machine C) that is accessible after sshing to another server (Machine B) (two hops in total). I'm using ...
user avatar
  • 11
0 votes
1 answer
60 views

How to SSH between two servers behind firewalls (without a 3rd party server)

There are many posts on this topic and SSH Tunnelling however, some come close to meeting this requirement, missing out a step or two and others are difficult to follow because of unclear terms. This ...
user avatar
  • 101
-1 votes
1 answer
85 views

How can I prevent ssh timeouts

I have a remote tunnel set up using this: ssh -R 2022:127.0.0.1:2222 -N -f ubuntu@django.vietfeir.com -i .ssh/djangoserver The remote machine can SSH successfully but the connection only lasts about ...
user avatar
0 votes
2 answers
81 views

How can I ssh to my Ubuntu desktop remotely?

Ubuntu 20.04 connected to the internet through wifi with a static IP address 192.168.1.133 Is there a way to set up something so that I can ssh to it remotely? I do not have access to the router I set ...
user avatar
1 vote
1 answer
402 views

ssh config for multiple proxy jumps

I have a setup where I need to do 2 proxy jumps in order to connect to my server D. Effectively, from A, I need to connect to B, from which I need to connect to C (which only allows connections from B)...
user avatar
  • 133
0 votes
0 answers
80 views

SSH reverse tunneling alternative?

I have a Minecraft server running on my local Windows PC and a remote Debian server that I use to bypass my ports using SSH reverse tunneling. My problem is that the ping is somewhat high, and I ...
user avatar
0 votes
0 answers
34 views

Connect to Azure Public IP Address and tunnel traffic to private IP address in database port

I have the following setup in Azure with two virtual machines: Windows Server 2019 with Public IP address Firewall rules allowing traffic by Internet to this VM on SSH, HTTPS and RDP Network traffic ...
user avatar
0 votes
0 answers
88 views

Passwordless ssh reverse tunnel suddenly asks for password?

This has me puzzled to no end, hopefully someone can clarify. I have a local server, LOCALSRV, and remote server (Ubuntu 20.04), REMOTESRV. On the local server, I've established a reverse ssh tunnel, ...
user avatar
  • 744
0 votes
1 answer
40 views

Which ssh public key and private key is my user using?

For what I understand there's needs to be an exchange of keys pairs so an ssh connection takes place. I am practicing remote port forwarding. I am in metasploitable 3 and want to expose the service ...
user avatar
0 votes
0 answers
246 views

Proxy UDP with socat via SSH in a single command

Currently I have run the following command in order to proxy traffic from the publicly available PROXY to the SERVER through SSH tunneling that's utilized by socat to convert the UDP to TCP and back. (...
user avatar
0 votes
0 answers
56 views

How to establish persistent connection with autossh

I am new to this so sorry in advance if my writing is a little confusing. I am trying to connect to a remote MySQL database from my AWS terminal. What I do is I start 2 AWS terminal windows. In the ...
user avatar
  • 101
0 votes
1 answer
190 views

How to set up automatic always-on SSH tunnels on Windows 10 (or 11)?

The accepted answer at the similar question Automatic SSH tunneling from Windows - Super User recommends Bitvise Tunnelier which requires a Windows client and Windows server. My solution requires a ...
user avatar
  • 1,944
0 votes
0 answers
23 views

OpenVPN UDP TLS handshake blocked by provider - how to tunnel via SSH?

I'm trying to connect to a company OpenVPN over UDP, but I'm currently in a country that blocks VPN access. I can connect to the VPN, but after a minute or so, it fails with "TLS handshake failed&...
user avatar
0 votes
0 answers
117 views

PyCharm: Configuring deployment through multi-middle machines

I initially post this question here. I forward it here to draw more attentions. Below are my questions: My school has a strange server schedule and system. In my dorm I need to connect to host-1, and ...
user avatar
0 votes
1 answer
60 views

Reverse SSH tunnel failing to open local port on remote host?

I am using the following reverse SSH command to try and open up a reverse SSH tunnel on a CentOS 7 host back to a Debian 10 host. ssh -p 20000 -NR 20050:localhost:22 user@ipaddress When I try this ...
user avatar
0 votes
1 answer
39 views

SSH port forwarding between local networks using Linux and AWS

I've got : A local network A with: Offline Linux device 192.168.0.1 Offline Windows device 192.168.0.2 that connects to port 4444 in Linux 192.168.0.1 Raspberry Pi with two ethernet ports, 192.168.0....
user avatar
  • 181
0 votes
0 answers
20 views

SSH connection behind 2 routers

Good afternoon, I would like to ask you for any help, you can give me. My situation. Internet <-> router/modem 1 (192.168.0.1) <-lan cable-> router 2 (WAN-192.168.0.200) router 2 (LAN-192....
user avatar
0 votes
0 answers
102 views

Get original IP through SSH tunnel by reverse proxy at remote machine

I have a DIY/home server running various services, some of them accessible via reverse proxy (Nginx;linuxserver's SWAG docker container). My own network is behind a carrier NAT through which I cannot ...
user avatar
  • 33
0 votes
0 answers
7 views

Browsing the web of a remote network via local reverse SSH tunnel on another device [duplicate]

Given the below network setup https://i.imgur.com/eMVJ5sz.jpg How would we go about exploring the web from Device C as if we were inside of Network B? Without using any external port forwarding. I ...
user avatar
  • 1
0 votes
0 answers
17 views

Connect to a local proxy applications remotely

This question apply to Psiphon / Lethean and every proxy program that accept connections only from localhost. How can I access them remotely? I was thinking of using 'ssh' but I had no success. (...
user avatar
0 votes
0 answers
12 views

Running a ssh (terminal) session on my Ubuntu 20.04 server has become sluggish

But my provider says Server is in good shape and the problem lies with my ISP. How can I troubleshoot?
user avatar
  • 163
0 votes
1 answer
32 views

Send remote linux command with 2 ssh via bastion

I'm trying to send a command to my machine which is on private cloud. for that I need to connect to bastion server and then to the private machine. my terminal -> bastion server -> target vm I ...
user avatar
1 vote
0 answers
70 views

Accessing SSH local tunneling through Docker published port

I have the following setup: [OpenSSH server] <---> [Docker container with SSH client] <---> [host machine] My Docker container is a SSH connection manager of sorts. The service running on ...
user avatar
  • 673
0 votes
2 answers
212 views

ssh tunneling to a vhost subdomain

Is it possible to use ssh tunneling to forward localhost to a specific (vhost) subdomain? In other words, I have the following domain/subdomain, both are on the same IP domain.dev vhost.domain.dev ...
user avatar
  • 119
0 votes
0 answers
67 views

Cannot use SSH Tunnel despite it is created

I installed a remote Raspberry Pi (Debian up-to-date) camera with a mobile modem-router connected to it to upload photos to a cloud. That has been working very good in the past and at the present. To ...
user avatar
0 votes
1 answer
37 views

Connect to http server through other server

There are three computers in play. All linux computers. Laptop: My work-laptop, running linux and can pretty much do anything with it. Can set it up so that it is reachable from the internet ...
user avatar
0 votes
1 answer
58 views

SSH tunnelling with Keys using JumpProxy without using config

For the following set up: Machine A can connect to the Bastion host machine via SSH using command: ssh -i keyA.pem user@bastion_host How would you connect to Machine C (inner Server) using a single ...
user avatar
  • 101
0 votes
0 answers
27 views

SSH tunneling (port-forwarding) requires the SSH service to be restarted every time

Actually, I described my problem in title. "SSH tunneling (port-forwarding) requires the SSH service to be restarted every time". Every time I try to set up SSH tunneling to my VPS, I need ...
user avatar
0 votes
0 answers
70 views

Unable to connect phpmyadmin from Docker container to a ssh tunnel established by host

I would like to run phpmyadmin as a Docker container, establish a ssh tunnel from the host machine, make the phpmyadmin container connect to the ssh tunnel. As suggested in this answer I have done ...
user avatar
  • 103
1 vote
1 answer
100 views

How to do ssh -D in ssh config file?

I want to do ssh -D 8080 root@12.105.19.126 in a ssh config file. Currently I have tried this but it's not working correctly: Host myHost HostName 12.105.19.126 User root LocalForward localHost:...
user avatar
1 vote
1 answer
422 views

SSH tunneling or VPN to host a game server on my computer

I want to have a minecraft server on my computer but I can't open ports on my local network, my ISP doesn't allow it. I have a VPS in hand and I wonder like what if I open ports on my VPS and host my ...
user avatar
0 votes
1 answer
78 views

OSX Remote Screen Sharing But No SOCKS

Edit2: I think it's a DNS issue on the remote machine, but I'm not completely sure. Once I've set up the SOCKS proxy via ssh -D 5050 -C -N user@remote.com and fired up Firefox pointed to 5050, some ...
user avatar
  • 101
-2 votes
1 answer
94 views

Forwarding port 22 on ZTE-ZXHN H1008N

enter image description here I don't understand a single thing in regards to networking. I managed to SSH to my other PC on LAN, but I can't seem to figure out how to open up port 22 in order to be ...
user avatar
  • 1
0 votes
2 answers
88 views

Create an SSH tunnel starting from the jump server

I have this server that I don't own so I cannot register new users or new authorized keys but I have to temporary share my access with a different user. I don't want to share my username and password. ...
user avatar
  • 101
0 votes
1 answer
512 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: ...
user avatar
0 votes
1 answer
133 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 ...
user avatar
0 votes
0 answers
226 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 ...
user avatar
0 votes
1 answer
36 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) ...
user avatar
  • 3
0 votes
0 answers
109 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. ...
user avatar
  • 1
1 vote
0 answers
293 views

How to avoid TCP/IP Fingerprinting

I have the following setup: +-----------+ SSH Tunnels Over Socks5 Proxy +--------------+ | | | | | Linux PC +-------------------------...
user avatar
  • 11
1 vote
1 answer
563 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 (...
user avatar
  • 113
0 votes
1 answer
598 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@...
user avatar
  • 1
0 votes
1 answer
127 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 ...
user avatar

1
2 3 4 5
11