six-ddc / hss

An interactive parallel ssh client featuring autocomplete and asynchronous execution.
MIT License
352 stars 23 forks source link

Support SSH ProxyJump #10

Open sundy-li opened 4 years ago

sundy-li commented 4 years ago
## this is ok
ssh  ${ip}

## this is not ok
➜  hosts hss -H ${ip}
$ ls
[E] xxxx -> zsh:1: unknown exec flag -q
[E] xxxx -> ssh_exchange_identification: Connection closed by remote host
$ 

I configured my ssh config with

ProxyJump jump_hosts:26890
sundy-li commented 4 years ago
ssh -q -oNumberOfPasswordPrompts -oStrictHostKeyChecking myhost  ls  

I test with this shell, it works fine.