-
Notifications
You must be signed in to change notification settings - Fork 960
Closed as not planned
Labels
cliArea: CLIArea: CLIs3Bugs that confuse, annoy, or are purely cosmeticBugs that confuse, annoy, or are purely cosmeticstaleThis issue is like stale bread.This issue is like stale bread.
Description
Hi, this was tested against Coder v0.23.7+a903d7c. I am trying to automate verification that user's have added their Coder SSH public key to different hosts. If you run coder gitssh
you'll get the following output.
coder gitssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command]
Coder authenticates with git using the public key below. All clones with SSH
are authenticated automatically 🪄.
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJX6eMUWpPlBlSHp5JQsUeEO7MqGUTKE0LHqI2yxFGnW
Add to GitHub and GitLab:
> https://github.com/settings/ssh/new
> https://gitlab.com/-/profile/keys
exit status 255
While testing, I tried using some of the command line options and all of them seem to give me an error.
eg:
coder gitssh -i ~/.ssh/test_key git@github.com
parsing flags ([gitssh -i /home/coder/.ssh/test_key git@github.com]) for "coder gitssh": unknown shorthand flag: 'i' in -i
It seems these option are either not available or I'm not specifying them properly.
Just FYI, this is not blocking me, I found a workaround where I do not need to use the extra options.
Metadata
Metadata
Assignees
Labels
cliArea: CLIArea: CLIs3Bugs that confuse, annoy, or are purely cosmeticBugs that confuse, annoy, or are purely cosmeticstaleThis issue is like stale bread.This issue is like stale bread.