Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect through a proxy on windows #4

Open
Nina0109 opened this issue Jul 11, 2018 · 0 comments
Open

How to connect through a proxy on windows #4

Nina0109 opened this issue Jul 11, 2018 · 0 comments

Comments

@Nina0109
Copy link

Nina0109 commented Jul 11, 2018

Hi @cj, I'm using sftp in sublime3, trying to connect my server B which can only access though a proxy A.
I can connect to A with a key file, by doing like this: "ssh_key_file": "D:/sshkeys/sublime_keys_jnyang.ppk".
Now how can I connect to B?
I tried he following, but failed.
"host": <ip_of_B>,
"user": <user_on_B>,
"password": <passwd_of_B>,
"port": <port_of_B>,
"sftp_flags": [
"-o", "ProxyCommand=ssh -p user@ip_of_A -i /path/to/A's key -W %h:%p"],
The rror message is "failure (Connection timeout)", can you tell me what's wrong? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant