saga-project / bliss

ATTENTION: bliss is now saga-python. Please check out the new project website for the latest version: http://saga-project.github.com/saga-python/
http://saga-project.github.com/saga-python/
Other
8 stars 4 forks source link

SSH Plugin host key handling #68

Closed drelu closed 12 years ago

drelu commented 12 years ago

There should be a way to surpess unknown host keys. This is necessary for clouds where a hostkey is not known in advance:

BadHostKeyException: Host key for server 108.59.87.146 does not match!

Google e.g. recommends the following options for ssh (when used with Google Compute Engine):

-o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o StrictHostKeyChecking=no

localhost:~ luckow$ gcutil --project_id=bigjob-pilot ssh bigjob-565e70e1-d503-11e1-a6c9-705681b3df0f INFO: Running command line: ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o StrictHostKeyChecking=no -i /Users/luckow/.ssh/google_compute_engine -A -p 22 luckow@108.59.87.146 --