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
5
votes
2answers
287 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
9 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
23 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 ...
0
votes
1answer
304 views

ssh-copy-id can not work with `~/.ssh/config`

I am able to login to a server using ssh USER@HOST without password, but password is required if I enter ssh usdev which is configured in ~/.ssh/config like following: Host usdev HostName HOST ...
0
votes
0answers
81 views

How to provide NFS access over an ssh tunnel?

I have two Raspberries Pi on my home LAN - rasrho and rasnu. rasrho has an ssh port forwarded to it by my router, such that I can ssh to it from outside my LAN. rasnu is running an NFS server. My ...
0
votes
1answer
60 views

Trying to make an https call through an ssh tunnel (to bypass a firewall)

I have a bastion server which has access to another server which is otherwise unavailable to the outside world. I am trying to make it so that I can make an https web call to hit an endpoint on the ...
2
votes
1answer
43 views

When setting up an SSH tunnel user, authorized_keys directive “command=” blocks “permitopen” (Ubuntu 19.10)

I'm trying to set up a user account in Ubuntu 19.10 that can only set up a tunnel for port forwarding on a specific port (9229). I've created the user with a minimal home folder (just a .ssh folder ...
0
votes
1answer
53 views

Creating Dynamic SSH tunnel between 3 computers

So I have the following setup: Computer A, Server, Computer B Computers A and B can SSH to the server but not vice versa. The goal is to achieve dynamic SSH tunneling from A to B through the server ...
0
votes
1answer
59 views

How to configure putty multiple with jumpboxes [duplicate]

At my company we have a strict security policy and to access my server i need to use different jumpboxes like this: jump_box_1 (has public access) jump_box_2 (has private access) my_server (here is ...
0
votes
0answers
18 views

SSH port forwarding breaks the original port?

I have a device configured to use port forwarding via ssh to allow access remotely. This works fine, except that for most of the forwarded ports the host seems to now refuse direct connections with ...
0
votes
1answer
58 views

ssh inline proxy jump using keys is not working

I need to establish a connection to a remote server via proxy jump. I'm trying to use the -J flag to do that. I understand that the syntax looks like this: ssh -J A B But I need to use key files for ...
1
vote
0answers
20 views

Detect that a host is reachable via a jump host

I have setup a tunnel on my mac(Mojave) through a jump host as such : ssh -o ProxyCommand='ssh -W %h:%p bastion' -i my-emr.pem -ND 8888 hadoop@ip-my.ec2.internal bastion is a host I have defined in ...
0
votes
1answer
93 views

SSH Tunnel + Socat UDP + Unicast + Multicast

I am trying to communicate from a machine LOCAL (sitting at home) with a scientific instrument (SCIENTIFIC, IP=192.168.1.109) which sits in a remote network along with a raspberry (SERVER). SCIENTIFIC ...
2
votes
2answers
240 views

Local computer and remote computer are behind NAT. How to make local network accessible with SOCKS?

I have a Local computer (behind NAT). An intermediate server which is publicly accessible and has a fixed IP address. Remote computer (behind NAT and not the same as local computer). I’d like to ...
0
votes
1answer
84 views

How to configure an SSH jump server?

Using a Linux system, I want to download a file from a Windows server. However, I want to use a Raspberry Pi in between to act as a Jump Server. Linux client (A)------> Pi-jump server(B)---------->...
0
votes
1answer
87 views

How to use reverse ssh tunneling with multiple jump servers

How would I use SSH Tunneling for an architecture in the example below? Scenario: I am physically logged into Windows PC Local and wish to remote desktop into the Windows PC Remote using port 3389....
1
vote
1answer
121 views

VSCode SSH with multiple hops

I'd like to edit code on a remote machine. The VSCode SSH extension offers this feature, but I can only get it to work for a single hop. Here's what I've tried so far: Click on 'Remote Explorer' in ...
0
votes
0answers
52 views

Expose 3G/LTE router LAN to the internet. What are my options?

I have a 3G/LTE router in my office (TP-LINK ARCHER MR400). It connects to the internet via a local mobile carrier. This LAN is under NAT (CGNAT?) imposed by the LTE provider. I want to be able to ...
2
votes
1answer
48 views

SSH tunnel from webpage

Is it possible to create a SSH tunnel by JavaScript from a webpage to access resources on a internal network? Do I need a jump box for this?
0
votes
0answers
19 views

How can I upload a file from local to remote server across another remote server?

Here is the thing, I have two remote servers remote1 and remote2. I can only access remote2 by using private key of remote1, locally I have the access to remote1 by entering psw. now I want to upload ...
0
votes
0answers
18 views

Tunnel through bastion server to remote database using only ssh config file

I have the following ssh config file which works for getting to the bastion and a remote application server: Host bastion Hostname 35.254.254.50 User user IdentityFile ~/.ssh/mykey.pem Host app ...
0
votes
0answers
39 views

Remotely connecting to ssh tunnel

I have created a remote ssh tunnel between two computers, with one being a server and the other being the main host. I used ssh -N -R port1:localhost:port2 user@server on the main host so I can now ...
0
votes
0answers
19 views

How to force ssh -R forwarding to force opem specific port [duplicate]

I am running ssh in this form for a redirect on a cellular networked IoT project ssh -R 43101:localhost:5001 -R 43122:localhost:22 user@remotehost.com This works, but occasionally it will disconnect ...
0
votes
1answer
111 views

Can I automatically close a ssh connection when the JumpHost is rebooted?

I'm using a reverse ssh tunnel from home to work, so I can check my home PC every now and then during working hours, all without the need of opening my home router for incoming connections. Both PC's ...
0
votes
0answers
29 views

How to let autossh record reconnect log

I'm using autossh to make remote port forwarding. First of all, I thought autossh can make sure my connection keep connect. Now I relized, autossh just make sure ssh will reconnect after disconnected. ...
0
votes
0answers
99 views

SSH Tunnel Through Multiple Hosts to Forward Traffic to Device

I am attempting to minimize my Public facing attack surface. Allowing only traffic from a specific IP address. I want to prevent all input access to the remote WAN/Edge Router's management port from ...
0
votes
1answer
109 views

SSH asking user password when connecting on a port

I have a computer C SSH reverse tunnelled to server B at port X. Now I want to connect from computer A to computer C via B at port X. When I do normal SSH from computer A to B as: ssh -i KEYA ...
0
votes
0answers
39 views

SSH reverse tunnel issue

I have 3 computers. A, B and C. I want to SSH from computer A to C via B. I want to do this through key authentication method. Now, to make this work: I create a key pair on C, send the public key ...
0
votes
0answers
25 views

SSH remote listening still occupies the port after connection lost [duplicate]

I'm establishing a remote ssh tunnel using this command: ssh -N -T -R33898:localhost:3389 Linux-VM However, when the client that executes that command goes offline (network connection lost or simply ...
3
votes
2answers
447 views

Reverse ssh on windows 10

I am running Windows 10 for my home PC with bitvise SSH server, and a VPS Ubuntu ec2 instance from Amazon. My ISP blocks ssh from coming IN, but I can connect to other SSH servers outside my LAN no ...
0
votes
0answers
38 views

ssh tunnel to a friends computer

I recently set up a laptop for the father of a friend. Her father is not accompanied to linux and I would like to be able to log in to the computer remotely to help. Usually I just log in using ssh. ...
0
votes
0answers
251 views

WSL OpenSSH will not open tunnels

I am using WSL with Ubuntu installed. I am trying to SSH to a "jump host" to get to computers behind this host. When I try running the command to create the tunnel, I am getting the following error ...
0
votes
0answers
48 views

How to redirect all SSH tunnel traffic from one server to another?

I have two servers, both running ubuntu 16.04 My plan is to ssh tunnel to server A, which I need to relay my tunnel to server B (target) currently I use sshuttle on server A like this: sshuttle --...
2
votes
0answers
42 views

Reverse ssh to Cloud server from Raspberry

I have a use case where I have 6 of my raspberry pi sitting behind a private firewall and I need access to them from my local systems. So I came up with a architecture shown below From my rpi reverse ...
0
votes
0answers
30 views

Windows 10 global proxy software that allows private/public key authentication

We have a SSH jump server at work, which I need to tunnel all my specific application trafic through. I have some code that targets a machine that my network can't access, so I need to tunnel my ...
0
votes
0answers
21 views

Remote Jupyter Notebook - Working with Git

I am working on a jupyter notebook which is on a remote server, this is done though ssh-tunnelling (see here for details). My issue is that I now want to enable Git in my project, and allow all the ...
0
votes
0answers
30 views

Tunneling from Windows 10 to Jupyter (WebUI) running on AWS (Ubuntu) through Bastion using Putty

I know there are plenty of comments on questions similar to mine but none has a clear technical implementation of the solution. The scenario is the following: windows --> [bastion] --> jupyter (WebUI)...
0
votes
0answers
40 views

Reverse SSH tunnel connection refused

I am trying to connect to a server behind NAT so I can ssh into the dev-server from the remote-server. I have set up a reverse ssh tunnel from the dev-server to the remote-server as follows, in order ...
0
votes
0answers
79 views

SSH tunneling error between remote hosts

I'm trying basic thing to do but I get error "Connection refused.". I don't where to go now. Where did I do a mistake? Depicted example: I have main Server master(My current PC) and want to do ...
0
votes
0answers
97 views

How do I set up tunneling in MobaXterm similar to my current PuTTY setup?

Here's what I do with PuTTY: PuTTY settings, Connection > SSH > Tunnels: source = 8000 destination = 0.0.0.0:8000 And then after I ssh into ServerA (a unix jump server in this instance), I use ...
0
votes
0answers
20 views

SSH key password only asked for once

I have created a public/private key pair and logged into my server with it. I have also copied it to the server under a user. It asked me for the password when logging in the first time but it doesn't ...
2
votes
2answers
382 views

Does OpenSSH support multihop login?

Ansible uses OpenSSH as the bottomed network communicative implementation, but does it support multi-hop login? I mean, if Ansible can login a server directly, but can it log in server_a then from ...
0
votes
1answer
1k views

How to setup a VNC server on Windows 10 and secure with SSH?

I need to use OpenGL on a remote Win 10 computer so can't use RDP. I also need a secure connection so VNC over SSH looks like a good solution. So far I've installed and configured OpenSSH and ...
0
votes
2answers
113 views

Transparent ssh tunneling

I have an SSH tunnel defined in /etc/ssh/ssh_config. It contains: LocalForward 0.0.0.0:8000 some-service:80 LocalForward 0.0.0.0:8001 some-other-service:80 I would still like to be able to access ...
0
votes
0answers
44 views

Need to SSH to connect to a remote host through SSH tunnels and a username change

I can connect to a remote server on the command line, which requires me to traverse successive SSH tunnels, login first with my user (ed) password at the first prompt, and then twice with a service ...
0
votes
0answers
36 views

How to have profiles list while I open Bitvise SSH client

I have newly installed Bitvise SSH client and cant find a very simple feature to save/open profile inside program. It seems that it saves profiles in external files so as every time I open the client ...
2
votes
0answers
209 views

ssh X11 Forwarding will not display Mac OS X Apps on Raspberry PI

I'm trying to remotely run some apps from my Min Mac running Mojave and a raspberry pi 4. When I run ssh -Y from my raspberry pi to the mac I get and error stating X11 forwarding request failed on ...
0
votes
0answers
134 views

Liquibase via SSH to remote mysql instance

I am in the middle of automating deployment of my "LAMP" application. At the moment I have a Jenkins setup with a pipeline to deploy to the local environment which I have full control of. In an ...
0
votes
1answer
136 views

What are my best option(s) if desiring to tunnel/reverse-proxy to-and-from a telnet server?

I have a quite small VPS abroad, and a BBS telnet server software that i wish to run locally. What are my options, If i wish to only use the VPS as a relay for connections, effectively and ...
0
votes
1answer
176 views

Access intranet website from outside

In the framework I'm working with I can monitor certain things on a website. This website can only be reached from within the network. If I'm at work I can simply use my favorite browser and navigate ...

1
2 3 4 5
10