Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hcloud server ssh <server> [command] is broken #728

Closed
royalrex opened this issue Apr 11, 2024 · 1 comment · Fixed by #729 or #731
Closed

hcloud server ssh <server> [command] is broken #728

royalrex opened this issue Apr 11, 2024 · 1 comment · Fixed by #729 or #731
Assignees
Labels

Comments

@royalrex
Copy link

TL;DR

executing a remote command over ssh is no longer possible

Expected behavior

when running hcloud server ssh <server> [command] I expect the command to be run on the remote server.

Observed behavior

I get this error in the terminal:
hcloud server ssh [options] [command]
^
hcloud: expected exactly 1 positional argument(s), but got 2

Minimal working example

download v1.43.0
setup context and have a server ready, then:
hcloud server ssh demoserver "ls"

Log output

hcloud server ssh [options] <server> [command]
                                               ^
hcloud: expected exactly 1 positional argument(s), but got 2

Additional information

it worked fine in previous version 1.42.0

@jooola
Copy link
Member

jooola commented Apr 11, 2024

Thanks for the report, should be fixed with #729

jooola added a commit that referenced this issue Apr 17, 2024
apricote pushed a commit that referenced this issue Apr 22, 2024
🤖 I have created a release *beep* *boop*
---


## [1.43.1](v1.43.0...v1.43.1) (2024-04-19)


### Bug Fixes

* allow passing multiple args to server ssh command ([#729](#729))
([d98aee5](d98aee5)),
closes [#728](#728)
* creating firewall with rules not working correctly
([64aeb23](64aeb23))
* **firewall:** missing error when not setting port for tcp rule
([#734](#734))
([c5ad470](c5ad470))
* **firewall:** setting rules not working correctly
([da1b684](da1b684))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants