mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
docs: update example SSH file path
This commit is contained in:
@@ -58,9 +58,9 @@ ssh-keygen -t rsa -b 4096
|
|||||||
Copy :
|
Copy :
|
||||||
|
|
||||||
```shell
|
```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
|
# 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
|
> Source: https://github.com/appleboy/ssh-action#setting-up-a-ssh-key
|
||||||
|
|||||||
Reference in New Issue
Block a user