davydany / sultan

Sultan: Command and Rule over your Shell
https://sultan.readthedocs.io/en/latest/
MIT License
680 stars 35 forks source link

ssh ProxyCommand support #74

Open erseco opened 5 years ago

erseco commented 5 years ago

Is possible to connect to an ssh tunnel through the ProxyCommand ssh option?

davydany commented 5 years ago

I assume you're talking about paramiko's ProxyCommand. Sultan doesn't use Paramiko so you won't be able to use the ProxyCommand. I wanted Sultan tot have 0 dependencies (https://github.com/aeroxis/sultan/blob/master/setup.py#L20) which is why I didn't use Paramiko. What it does is instead use the ssh command that is found on most Linux systems and add parameters to that to execute on the remote server.

davydany commented 5 years ago

I haven't considered setting up SSH Tunnel. If it is a feature the community likes, please give this issue a thumbs up (👍) and I'll implement it!