Remote-ftp: Cannot access machine via SFTP which has a ProxyJump

Created on 27 Jan 2018  ·  3Comments  ·  Source: icetee/remote-ftp

Prerequisites

Description

Connecting to a host which has a ProxyJump in the ~/.ssh/config fails

Steps to Reproduce

  1. Create a Host configuration in ~/.ssh/config with a ProxyJump via another server eg:

Host jumpbox
HostName 192.168.1.1
Port 22
User jumper
IdentifyFile ~/.ssh/jump.key

Host ansible
HostName 10.0.0.1
Port 22
User ansible
ProxyJump jumpbox
IdentityFile ~/.ssh/private.key

  1. Setup remote-ftp to connect to ansible

Actual behavior:

Fails to connects

Reproduces how often:

Always

Versions

Atom : 1.23.3
Electron: 1.6.15
Chrome : 56.0.2924.87
Node : 7.4.0
MacOS: 10.13.3

Additional Information

I need to access some machines via a JumpProxy defined in my ~/.ssh/config
In my case the machine which is the JumpProxy runs a VPN client on it.
If I run the VPN software directly on my Mac (Which TBH I don't want to do) I can use "remote-ftp" to my target.

Best wishes and thanks in advance

All 3 comments

Have you tried using the IP address as Host in your _config_ file?

For example:

Host 10.0.0.1
HostName 10.0.0.1
Port 22
User ansible
ProxyJump jumpbox
IdentityFile ~/.ssh/private.key

And then remote-ftp to 10.0.0.1.

The reason I ask is #1072

Is your problem that you've written 'IdentifyFile' instead of 'IdentityFile'? :thinking:

End of november 2019 and this bug is still happening

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fausto160792 picture fausto160792  ·  7Comments

AlienFX picture AlienFX  ·  6Comments

elebumm picture elebumm  ·  7Comments

Darkspirit picture Darkspirit  ·  4Comments

pooreal picture pooreal  ·  3Comments