Skip to content

Commit

Permalink
📜 add ssh pub key transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Jan 9, 2023
1 parent 6e3d1b4 commit c53cbfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sheets/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Create SSH key pair and connect SSH with this key

```bash
ssh-keygen -f file_name -C "Comment" # prompts for passphrase
ssh-copy-id -i file_name.pub user@host
ssh -i file_name user@host
```

Expand Down

0 comments on commit c53cbfc

Please sign in to comment.