jacobsvante / bgtunnel

Initiate SSH tunnels in the background in python
MIT License
48 stars 12 forks source link

added StrictHostKeyChecking switch #16

Closed ejether closed 9 years ago

ejether commented 9 years ago

I added this to allow automated logins while using maestro-ng. The tunnel fails if the client has never logged in unless this flag is set.

jacobsvante commented 9 years ago

Thanks for the PR @ejether! One thing before I merge this: Please use booleans instead of the string 'yes' or 'no' in the method's arguments.

ejether commented 9 years ago

Hey, Thanks @jmagnusson. I updated the PR, I hope its what you had in mind.

jacobsvante commented 9 years ago

Thank you for the improvement @ejether. I made the argument optional, so it won't be set to either yes or no unless specifically passed in. Also added a unit test for it.

ejether commented 9 years ago

Thanks for accepting it, Nice improvements!