mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-23 02:29:37 +01:00
chore: update ssh key part
part from https://github.com/appleboy/ssh-action/issues/80
This commit is contained in:
parent
e59c0ee97a
commit
29007ce6fb
1 changed files with 7 additions and 1 deletions
|
@ -155,7 +155,13 @@ clip < ~/.ssh/id_ed25519
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
See the detail information about [SSH login without password](http://www.linuxproblem.org/art_9.html)
|
See the detail information about [SSH login without password](http://www.linuxproblem.org/art_9.html).
|
||||||
|
|
||||||
|
**A note** from one of our readers: Depending on your version of SSH you might also have to do the following changes:
|
||||||
|
|
||||||
|
* Put the public key in `.ssh/authorized_keys2`
|
||||||
|
* Change the permissions of `.ssh` to 700
|
||||||
|
* Change the permissions of `.ssh/authorized_keys2` to 640
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue