mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
docs: update example SSH file path
This commit is contained in:
@@ -58,9 +58,9 @@ ssh-keygen -t rsa -b 4096
|
||||
Copy :
|
||||
|
||||
```shell
|
||||
cat ~/.ssh/id_rsa.pub | ssh b@B 'cat >> ~/.ssh/authorized_keys'
|
||||
cat ./id_rsa.pub | ssh b@B 'cat >> ~/.ssh/authorized_keys'
|
||||
# or
|
||||
ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
|
||||
ssh-copy-id -i ./id_rsa.pub user@host
|
||||
```
|
||||
|
||||
> Source: https://github.com/appleboy/ssh-action#setting-up-a-ssh-key
|
||||
|
||||
Reference in New Issue
Block a user