wouterdebie / i2cssh

csshX like ssh tool for iTerm2
MIT License
547 stars 68 forks source link

StrictHostKeyChecking option does not work #79

Closed mrshpaks closed 1 year ago

mrshpaks commented 6 years ago

Hi there.

Just tried to add StrictHostKeyChecking=no option to command and it did not work

i2cssh -l <username> -Xi=<key path> -Xo=StrictHostKeyChecking=no -m <instance list>

Got output like below:

unset HISTFILE && echo -e "\033]50;SetProfile=Default\a" && 
ssh -i <key> -o StrictHostKeyChecking no  <user>@<host IP>

command-line line 0: missing argument.

Looks like it's escaping = sign.

ashishchandra1 commented 6 years ago

I am having the same issue, wonder there is a way that we can take care of it

Programie commented 4 years ago

I have the same issue.

My current workaround is to use a separate ssh config file where I specify the SSH options I want to use for i2cssh using -XF=/path/to/config.

dabrady commented 4 years ago

@wouterdebie I've created a bugfix PR to address this issue: https://github.com/wouterdebie/i2cssh/pull/96

Please have a look when you have time! 😄