Skip to content

Commit

Permalink
fix ssh-copy-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
biocoderh committed Oct 6, 2023
1 parent 7c1cfd3 commit e56e72a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .scripts/common/ssh-copy-keys
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

if [ -z "$1" ] || [ -z "$2" ]; then
cat << EOF
Usage: ssh-clone-id KEY REMOTE
Usage: ssh-copy-keys KEY REMOTE
Copy private and public keys to remote host, also add them to ssh agent.
Example: ssh-clone-id .ssh/id_ed25519 [email protected]
Example: ssh-copy-keys .ssh/id_ed25519 [email protected]
EOF
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Common scripts, loaded by default.

- [ssh-copy-keys](.scripts/common/ssh-copy-keys) - copy private and public keys to remote host, also add them to ssh agent.
```sh
Usage: ssh-clone-id KEY REMOTE
Example: ssh-clone-id .ssh/id_ed25519 [email protected]
Usage: ssh-copy-keys KEY REMOTE
Example: ssh-copy-keys .ssh/id_ed25519 [email protected]
```

- [mitigations](.scripts/common/mitigations) - set kernel boot mitigations param. Note: only systemd-boot supported.
Expand Down

0 comments on commit e56e72a

Please sign in to comment.