diff --git a/src/ssh/azext_ssh/_params.py b/src/ssh/azext_ssh/_params.py index 2a1a5b33ce9..9ae31b0085e 100644 --- a/src/ssh/azext_ssh/_params.py +++ b/src/ssh/azext_ssh/_params.py @@ -24,7 +24,7 @@ def load_arguments(self, _): with self.argument_context('ssh config') as c: c.argument('config_path', options_list=['--file', '-f'], help='The file path to write the SSH config to') c.argument('vm_name', options_list=['--vm-name', '--name', '-n'], help='The name of the VM') - c.argument('ssh_ip', options_list=['--ip'], help='The public IP address (or hostname) of the VM') + c.argument('ssh_ip', options_list=['--ip', '--hostname'], help='The public IP address (or hostname) of the VM') c.argument('public_key_file', options_list=['--public-key-file', '-p'], help='The RSA public key file path') c.argument('private_key_file', options_list=['--private-key-file', '-i'], help='The RSA private key file path') c.argument('use_private_ip', options_list=['--prefer-private-ip'],