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

Run command doesn't respect jump_hosts settings #104

Closed
ceclin opened this issue Dec 12, 2023 · 1 comment
Closed

Run command doesn't respect jump_hosts settings #104

ceclin opened this issue Dec 12, 2023 · 1 comment

Comments

@ceclin
Copy link
Contributor

ceclin commented Dec 12, 2023

If you run rospo with the following yaml:

# the ssh client configuration
sshclient:
  # OPTIONAL: private key path. Default to ~/.ssh/id_rsa
  identity: "~/.ssh/id_ed25519"
  # REQUIRED: server url
  server: root@127.0.0.1:8001
  # OPTIONAL: Known hosts file path. Ignored if insecure is set to true
  known_hosts: "~/.ssh/known_hosts"
  # OPTIONAL: if the check against know_hosts is enabled or not
  # default insecure false
  insecure: false
  # OPTIONAL: list of jump hosts hop to traverse
  # comment the section for a direct connection
  jump_hosts:
    - uri: root@127.0.0.1:8000
      # OPTIONAL: private key path. Default to ~/.ssh/id_rsa
      identity: "~/.ssh/another_id_ed25519"

It will connect to port 8000 with ~/.ssh/id_ed25519, but the identity should be ~/.ssh/another_id_ed25519.

@ferama ferama closed this as completed in 68af56a Dec 12, 2023
@ferama
Copy link
Owner

ferama commented Dec 12, 2023

thanks for reporting. should be fixed now. Feel free to reopen if you still have issues

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

No branches or pull requests

2 participants