Linked Questions

0
votes
1answer
926 views

ssh-config multihop tunnel [duplicate]

I have an mysql Server on hostD. I can access hostD through hostC, hostC through hostB, hostB through hostA and I access hostA using putty on my home device home(windows)-->hostA-->hostB-->...
110
votes
7answers
46k views

Forward SSH traffic through a middle machine

SSH tunneling is very confusing to me. I am wondering if I can do this in Linux. I have 3 machines.. A. My local machine at home. B. Machine at work that I can SSH into (middle man). C. My desktop ...
25
votes
3answers
21k views

How to mount remote SSHFS via intermediate machine? Tunneling?

I would like to mount a remote file system (A) using SSHFS, but sometimes I have IP address, access from which is not allowed. So my plan is to access it via another machine (B) in that network. Do I ...
1
vote
1answer
2k views

Relay two SSH connections together

I have three machines: I have physical access to localhost I want to ssh into host1. However, it is behind carrier-grade NAT, so I can't ssh directly to it from localhost relayhost is set up to help ...
7
votes
3answers
2k views

Linux graphical alternative to WinSCP tunneled connection

Is there a Linux or multiplatform software with GUI that allows you to browse and download files from a server behind a SSH tunnel (this is a winscp example)? |client|----ssh----|gateway|-----ssh-----...
1
vote
1answer
2k views

SSH gateway: how to understand ssh -L when remote comes first?

I understand some ssh forwarding basics, but this SuperUser post seems backwards to me. In other words, with 2 hosts, this… ssh -L 0.0.0.0:10022:localhost:22 root@A …seems to allow a connection from ...
3
votes
1answer
802 views

Redirecting SSH on login, however SFTP does not work

I'm trying to set up a SSH proxy for our users using an automated jumpbox. The user logs in and gets automatically SSHed off to his container/vm, which works great. Regretfully, SFTP which tunnels ...
0
votes
2answers
927 views

How evade firewall port blocking?

I have a serious problem with my institute's firewall. I have a Rackspace Cloud server instance that is configured to accept SSH connections on port 6xxx. When I was using port 22 there wasn't any ...
2
votes
2answers
539 views

How does one forward a TCP connection (specifically MyQSL client-->server) through a multiple hop SSH tunnel?

I want to open a connection to a remote MySQL database. This database is in a private subnet on a different network, so I cannot directly open a connection to it. Remote SSH access is also ...
1
vote
1answer
773 views

Use an SSH Tunnel to access a webapp on a phone through a middle-man

tl;dr: A -> B and C -> B works. How to get A->C to work? I have 3 hosts A. A local machine B. A middle-man C. A phone with a webapp running on port 333 Both A and C can SSH into B. So, A->B and ...
0
votes
1answer
353 views

Can you do continous ssh tunneling?

I saw here a way to do two ssh hops ssh -L 9998:host2:22 -N host1 ssh -L 9999:localhost:1234 -N -p 9998 localhost I think I understand what one line does, but not how they work together. Can ...
1
vote
2answers
497 views

Vnc and ssh tunnelling not working

I am trying to access my work computer (server C) via vnc. I have root on this machine. I can't access it directly so I have to go via server B. I have done the following steps. First on my local ...
3
votes
1answer
487 views

ssh tunnelling port forwarding

I have three computers, A, B, C. A is the computer I'm working on, C is the remote computer I'd like to access. However C can only be accessed through B. Only B has a ssh server, and only A has a ssh ...
1
vote
1answer
312 views

How do I create a service that directs traffic to an SSH tunnel?

I have the following scenario: A service listening on port 6678 on Computer C Only computer B can access computer C via ssh Computer B is accessible globally I would like to do the following: ...
0
votes
2answers
365 views

Vnc using port forwarding from windows

In order to vnc from home into my work desktop running linux I have to take some quite complicated steps. I have to first connect to the work server linux box and from there I can connect to my work ...

15 30 50 per page