diff options
| author | Hugh Saunders <hugh@wherenow.org> | 2016-11-25 11:44:13 +0000 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2021-12-15 17:41:58 +0000 |
| commit | 3a929611c0ec5dd8e7bf24692984d1df8b9a97f8 (patch) | |
| tree | ee49f7fbe03aca03e60dd76ba0927064181d00ae /releasenotes/notes | |
| parent | ba69870d86b5840dec06c6c30c8ddf50398bdb44 (diff) | |
| download | python-openstackclient-3a929611c0ec5dd8e7bf24692984d1df8b9a97f8.tar.gz | |
compute: Pass through args to ssh
Why limit a user to preset ssh arguments? Capture them all and send
them along to ssh to deal with. This allows users to use the full range of
ssh arguments, including specifying a command to run on the
instance. For example:
openstack server ssh -4 upg -- -l cirros -i ~/id_rsa_upg "date; uptime"
SSH arguments that openstackclient currently mirrors are deprecated
except for -4 and -6, as they are useful for retrieving the correct
instance IP.
Change-Id: Ia50786d5eee52688e180550fe16aeb8af610154b
Co-authored-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'releasenotes/notes')
| -rw-r--r-- | releasenotes/notes/pass_ssh_args-cf26a2ce26ccddaf.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/releasenotes/notes/pass_ssh_args-cf26a2ce26ccddaf.yaml b/releasenotes/notes/pass_ssh_args-cf26a2ce26ccddaf.yaml new file mode 100644 index 00000000..fe81de94 --- /dev/null +++ b/releasenotes/notes/pass_ssh_args-cf26a2ce26ccddaf.yaml @@ -0,0 +1,14 @@ +--- +features: + - | + Added the ability to pass arguments through to the ``ssh`` command When + using ``openstack server ssh``. This allows the user to use any ``ssh`` + option without needing to add that option to the openstack client. + Existing openstackclient options that mirror SSH options are now + deprecated. +deprecations: + - | + ``openstack server ssh`` options that mirror ``ssh`` options are now + deprecated (``--login, -l, --port, --identity, --option, -o, -vz``). + The ``ssh`` equivalent of each deprecated option should be used instead. + For example ``openstack server ssh instance -- -l user -i key`` |
