A
A
alex stephen2015-05-13 16:46:36
SSH
alex stephen, 2015-05-13 16:46:36

How to connect via SSH with tunnel in ST3?

In general, there is a server (hereinafter "S1") to which I cannot connect via SSH (blocking on the provider's side).
But I can connect to another server ("S2") and ssh S1 there already. This works fine in the console, but I also need to connect the code editor to this case. I'm using Sublime Text 3 with the "SFTP" module .
There is a setting "sftp_flags" (which can be passed the flags added when starting ssh) ... Accordingly, there is an assumption that somehow this tunneling can be implemented to connect using them.
UPD: there is no sudo access on S2. S1 has

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
ShamblerR, 2015-05-13
@berezuev

don't suffer x avz.org.ua/wp/2010/06/29/putty-how-to-make-your-wi...

E
evnuh, 2015-05-13
@evnuh

ssh can take a command as an argument, which it will immediately execute after connecting. Try stuffing another ssh to s1 into this argument

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question