diff --git a/README.md b/README.md index 41bd6e6..844b36f 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,14 @@ im_client.py [-u|--xmlrpc-url ] [-r|--restapi-url ] [-v|--verify-ssl] ``sshvm [show_only]`` Connect with SSH with the specified virtual machine ``vmId`` associated to the infrastructure with ID - infrastructure with ID ``infId``. + infrastructure with ID ``infId``. In case that the specified VM does not have public IP the client + will try to connect using the virtual machine with ID ``0`` as SSH proxy. + The ``show_only`` parameter is optional + and is a flag to specify if ssh command will only be shown in stdout instead of executed. + + ``ssh [show_only]`` + Connect with SSH with the virtual machine with ID ``0`` associated to the infrastructure with ID + infrastructure with ID ``infId``. The ``show_only`` parameter is optional and is a flag to specify if ssh command will only be shown in stdout instead of executed. diff --git a/changelog b/changelog index af65eb7..b96ff28 100644 --- a/changelog +++ b/changelog @@ -97,3 +97,7 @@ IM-client 1.5.7 * Add support for ProxyCommand ssh. * Add force option to delete operation. +IM-client 1.5.8 + * Fix error where context flag ignored in add and remove resource in case of REST APA. + * Add Bearer token command. + * Add support for ProxyCommand ssh to internal VMs using master VM as proxy. diff --git a/im_client.py b/im_client.py index f170bc4..6b3cd3f 100755 --- a/im_client.py +++ b/im_client.py @@ -1139,6 +1139,7 @@ def get_parser(): parser.add_operation_help('stopvm', ' ') parser.add_operation_help('rebootvm', ' ') parser.add_operation_help('sshvm', ' [show_only]') + parser.add_operation_help('ssh', ' [show_only]') parser.add_operation_help('export', ' [delete]') parser.add_operation_help('import', '') parser.add_operation_help('getoutputs', '') diff --git a/setup.py b/setup.py index 22213a6..7cea409 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ from setuptools import setup -version = "1.5.7" +version = "1.5.8" setup(name="IM-client", version=version, author='GRyCAP - Universitat Politecnica de Valencia',