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

Spaces in ssh target name #269

Closed
Threnklyn opened this issue Aug 18, 2022 · 1 comment
Closed

Spaces in ssh target name #269

Threnklyn opened this issue Aug 18, 2022 · 1 comment
Labels

Comments

@Threnklyn
Copy link

If you have spaces in your ssh target name like so:

targets:
  - name: Dev Server
    allow_roles:
      - "admin"
    ssh:
      host: dev.example.org
      username: john

you get a command looking like this:
image

ssh thru:Dev Server@ssh.itfspace.net -p 2022

with the whitespace the command isnt working. Maybe just replace all whitespaces with _ or -?

@0x1a8510f2
Copy link

Even wrapping the command in " should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants