Merge "Add support to chose ssh key type"
This commit is contained in:
1 changed files with 5 additions and 1 deletions
@@ -70,8 +70,12 @@ class RemoteClient(object):
self.server = server
self.servers_client = servers_client
self.log_console = CONF.compute_feature_enabled.console_output
kwargs = {}
if CONF.validation.ssh_key_type:
kwargs['ssh_key_type'] = CONF.validation.ssh_key_type
self.ssh_client = ssh.Client(ip_address, username, password, pkey=pkey)
self.ssh_client = ssh.Client(
ip_address, username, password, pkey=pkey, **kwargs)
@debug_ssh
def exec_command(self, cmd):
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.