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

Changing the placement of -f option #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lsalazar1
Copy link

Overview

When running the terraform apply to create the bastion and cluster, the setup_ssh action will fail due to "too many arguments" in the ssh-copy-id command. After moving the -f option this error was resolved and the setup_ssh progressed.

Host 150.239.172.192 not found in /Users/liamsalazar/.ssh/known_hosts
│ /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/liamsalazar/.ssh/id_bastion.pub"
│ /usr/bin/ssh-copy-id: ERROR: Too many arguments.  Expecting a target hostname, got: 

│ Usage: /usr/bin/ssh-copy-id [-h|-?|-f|-n|-s] [-i [identity_file]] [-p port] [-F alternative ssh_config file]
│ [[-o <ssh -o options>] ...] [user@]hostname
│       -f: force mode -- copy keys without trying to check if they are already installed
│       -n: dry run    -- no keys are actually copied
│       -s: use sftp   -- use sftp instead of executing remote-commands. Can be useful if the remote only allows
│ sftp
│       -h|-?: print this help

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

Successfully merging this pull request may close these issues.

None yet

1 participant