changed parameter name key_name to key-name, to try and get ssh keys to work