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.
564
questions
2
votes
0
answers
3k
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 ...
2
votes
0
answers
91
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 ...
2
votes
0
answers
1k
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 ...
2
votes
0
answers
393
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 ...
2
votes
0
answers
2k
views
ssh local port forwarding not working [duplicate]
My goal:
I have a computer in a location A, let's call it host-A.
I have a computer in a location B (host-B) running an ssh server, and I can ssh from host-A into host-B. I want to access a website ...
2
votes
1
answer
991
views
Unable to access a linux server behind NAT via reverse SSH tunnel with passwordless SSH login
Problem
I cannot connect to my homeserver via passwordless SSH login from my clientcomputer/remotecomputer via my relayserver.
I get homeserver@localhost: Permission denied (publickey).
History/...
2
votes
0
answers
660
views
Forward network traffic on iPhone through sshuttle tunnel on Mac
Is it possible to forward my network traffic on my iPhone through a sshuttle tunnel on my Mac (on the same WiFi network)?
2
votes
0
answers
2k
views
Run Vagrant machine on remote server but use as local
I'm not quite sure if I can really do it in that way:
Scenario at the moment:
My laptop is running a vagrant machine "laravel/homestead" to serve as a webserver. To run it and connect to it - I type ...
2
votes
0
answers
553
views
How do I prevent my SSH tunnel port forwarding rules from disconnecting when idle?
I've set up some reverse port forwarding rules on my KiTTY (fork of PuTTY) client (Windows 7) through a SSH Tunnel to my remote OpenSSH server (Windows 2012). Everything works great at first, as using ...
2
votes
0
answers
717
views
How to access the port of a reverse SSH tunnel on the hosts loopback device from within a Docker container?
I have the Xdebug PHP extension installed in a Docker container that runs the PHP-FPM of my development and testing environment.
A debugging client (the one build-in PhpStorm) listens on port 9000 on ...
2
votes
0
answers
2k
views
PuTTy can't establish SSH tunnel
I'm trying to set up remote debugging for PHP using Xdebug and PhpStorm. My local development machine has Windows 7 and the remote machine has CentOS 6.
I'm following this guide to no avail:
https:/...
2
votes
0
answers
778
views
GUI ssh clients for mac?
Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops?
I have tried:
coachilla
SSH tunnel manager
Tunnelblick
tunneling manually through terminal is fine, but time ...
2
votes
0
answers
9k
views
Running rdesktop via SSH Tunnel causes ERROR: Failed to open display:
I can use rdesktop fine on my Linux Mint (3.2.0-23-generic kernel) system like this :
rdesktop IPAddress
However, I'd like to run rdesktop through my OpenSSH ssh tunnel. I using the following:
ssh ...
2
votes
0
answers
133
views
SSH through a tunnel or directly depending on the network I'm conncted to
Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes?
Suppose I'm at my laptop, which I can plug (...
2
votes
1
answer
2k
views
Linux Subversion configuration file
I've moved my SVN repo from one host to another. The new host requires I commit by using svn+ssh:// instead of https:// like my previous host did.
One issue I can't escape is no matter what I do I get ...
2
votes
2
answers
480
views
How to do complex port forwarding (sort of)
I have a very different situation. My laptop named A, another machine B(ip-172.16.28.3) with ssh server installed and i have an account on that machine, the third machine C(ip-172.16.24.3) is a proxy ...
2
votes
1
answer
2k
views
What is the most MTU efficient way of creating a network tunnel?
I am currently using SSH tunneling to connect to the internet via a remote computer using the -D ssh argument. I've recently run across a problem with this solution -- the SSH protocol decreases the ...
2
votes
3
answers
3k
views
How many reverse ssh tunnel can connect to server
how many reverse ssh tunnel can connect to ubuntu server?is there any firewall limit or does it take a resource of my server?
I am using below command to tunnel from client to my server or client:
...
2
votes
2
answers
3k
views
How can I ssh into my home computer from the internet?
Is there software that will help me to ssh/connect to my home computer from the public internet? (Say, a coffee shop).
I understand that questions similar to this have been asked, but none seem to ...
1
vote
3
answers
16k
views
How to connect / tunneling to another computer to use it's localhost?
I'am not quite sure how to describe what I really asking for, so i will try:
I have two computer A and B.
Computer A is my primary computer I'am working on. I'am web developer, and as you may know, ...
1
vote
2
answers
16k
views
How to open port via SSH tunnel?
There is a system B with the following open servers: I have a web server listening on port 80 and a ssh server listening on 22. However, only port 22 is publicly available. Now, I would like to create ...
1
vote
2
answers
6k
views
How to ssh a computer which is behind firewall
Consider I have three computers
home my computer at home
work my computer at work
server my server
I can't connect from home to work using ssh because of my company firewall. But I can ssh any ...
1
vote
3
answers
600
views
How local host is shared to Internet?
Recently I have found websites which generate a public URL for a given local host. I'm immensely interested in understanding how a local host can be shared to Internet.
After searching a lot I got ...
1
vote
2
answers
2k
views
SSH behind proxy ?
What is the best way to SSH to my sever behind company proxy , it seems that 22 port is not opened by default , is there any simple way to do that rather than to install corkscrew ??
When I do :
✗ ...
1
vote
1
answer
768
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 ...
1
vote
3
answers
911
views
Connect to a blocked server
I have a hired server that doesn’t allow me to access to a URL. Can I access to that URL from the server using my home computer as bridge with SSH tunnel? In the server I only have command line access....
1
vote
2
answers
666
views
How do I ssh tunnel port forward?
I'm on a Mac and I want to connect to an EC2 instance, then have that EC2 instance connect to a remote server over port 22. So as far as I understand it, I would do something like:
sudo ssh -l [...
1
vote
2
answers
409
views
Ssh tuneling and logging
I have access with ssh to server. If i use it as tunnel for bypass local firewall, how can my actions can be logged in server?
Does it safety for me, and is secure for me, if other people have access ...
1
vote
2
answers
3k
views
Tunnelling from one SSH connection into another one
I have a machine called ic that I can ssh to. There is another machine, fw, that is on a completely different VLAN, and I cannot talk to it. ic is on both my VLAN and the VLAN that fw uses, and so my ...
1
vote
1
answer
3k
views
SSH remote forwarded port doesn't accept external connection (even with `GetewayPorts yes`)
I am trying to set a reverse/remote SSH port forward, using this schema where the Apache Linux server forwards the port 80 to the SSH server.
So
On the SSH server I changed the configuration to ...
1
vote
1
answer
744
views
SSH key across multiple machines with SSH chaining
I would like to be able to ssh across mutiple machines using the -A flag on ssh like:
ssh -A user@hostB ssh -A user@hostC
This works fine in scenarios where I have SSH keys allowing me to go from my ...
1
vote
2
answers
144
views
ssh tunnel interrupted to unlock key - Looking for a single command
I'm trying to create an ssh tunnel to access a remote server(A) that can only be accessed via another server(B). I have a key on my local machine(L) to get to the relay server(B) and another key on ...
1
vote
1
answer
245
views
Automated forwarding to reverse tunnel
I have a Raspberry Pi (remote) which is behind a NAT. In order to access it from my home computer (local), I connect it to my ASW server (server) via reverse tunnel as described in various posts.
...
1
vote
2
answers
5k
views
Bash script to open SSH reverse tunnel at startup
I am trying to run a script at startup on a Debian Jessie machine, among other things it creates a SSH reverse tunnel.
The thing is that I have put this script at if-up and either in rc.local to ...
1
vote
3
answers
2k
views
I can ssh out but not in. Reversible?
I have an account on a server inside my corporate network. I also have a VPS from Linode. I can ssh from the corporate server to the Linode VPS or to my home computer with no problems.
But thanks to ...
1
vote
1
answer
457
views
When I run a java swing app via xwindow over ssh session, is it's classpath my local box or that of the ssh server?
When running java sandbox apps over a cygwin (Moba terminal) ssh xwindows session, is it running on my local machine or is it executing on the server, with just the interface being displayed to my ...
1
vote
1
answer
4k
views
Ways of recovering a missing .bash_history due to a 100% full disk?
Two Putty sessions were opened to a Debian 6 Linux. Log-files led to a full disk. The bash history of the entire shell sessions is missing, and even beyond that (This may be due to a blocked writing-...
1
vote
3
answers
659
views
Reach computer behind a NAT or Proxy
I have a home PC connected through twoway satellite modem. I cant reach from outside, so after a some research I found a solution which is reverse ssh tunneling. but I have a few question regarding ...
1
vote
1
answer
362
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:??.??.??.??:...
1
vote
1
answer
3k
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 ...
1
vote
1
answer
3k
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
2
answers
6k
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 ...
1
vote
1
answer
2k
views
Access several SSH servers via a single jump SSH server
I would like to access several different SSH servers (i.e. dest1, dest2) via a single SSH bastion server (i.e. bastion). I would like to avoid logging into the bastion server each time I want to ...
1
vote
1
answer
906
views
Tunneling from Windows 10 to Jupyter running on AWS
I'm trying to access Jupyter notebooks that are installed on AWS and I want to use a windows-10 machine to access it. The jupyter system sits behind a jump host (bastion) on aws. The process works for ...
1
vote
1
answer
2k
views
Reverse proxy with ssh
I have the following setup:
A: my linux laptop at home B: a Windows machine to which I have
access via VNC, this PC is behind a restrictive firewall C: a PLC
on the same subnet as B
I'd like ...
1
vote
1
answer
2k
views
How to set up automatic SSH tunnel
I've been using SSH's remote forwarding feature to forward connections to
a Unix domain socket on a remote host example.com to a Unix domain socket
on my local machine. Both machines run Linux. The ...
1
vote
2
answers
3k
views
Setting up ssh tunnel through multiple hosts and with different users
I have the following ssh connections:
user1@local --> root@machine1 --> root@machine2 --> abc@machine3
I need to be able to connect from local directly to machine3:
[user1@local]$ ...
1
vote
1
answer
4k
views
How to tunnel using OpenVPN on Windows
I successfully establish a SSH connection on Windows using the OpenVPN GUI. To reach ABC servers, I need to use a tunnel. How can I manage to set up a HTTP tunneling according to this manual:
The ...
1
vote
2
answers
4k
views
How to get SSH tunneling to work in Macintosh OSX El Capitan?
I upgraded from Yosemite to El Capitan, but now SSH tunneling appears to be broken. Before upgrade, I could tunnel my VNC session from another computer using the app SSH Tunnel Manager, but after ...
1
vote
1
answer
775
views
Anonying Firewall - Still cannot access banned sites like facebook even via SSH tunnel through SOCKS 5 Proxy
I'm in some un-named country and I connected to my SOCKS 5 Proxy via an SSH Tunnel which is located in the US. I tried to visit facebook via the browser, but it just times out. But when I ping ...