Linux
SSH
Push public SSH key to a server
$ ssh-copy-id -p 41111 -i ~/.ssh/id_rsa.pub mhan@remote.server.com
File
Permissions
Letter | Number |
---|---|
r | 4 |
w | 2 |
x | 1 |
rw- | 6 |
r-x | 5 |
rwx | 7 |
$ ssh-copy-id -p 41111 -i ~/.ssh/id_rsa.pub mhan@remote.server.com
Letter | Number |
---|---|
r | 4 |
w | 2 |
x | 1 |
rw- | 6 |
r-x | 5 |
rwx | 7 |