mirror of
https://github.com/wahyd4/knowledge.git
synced 2026-08-09 05:06:28 +10:00
Add linux auth without password
This commit is contained in:
@@ -7,6 +7,18 @@ Do not use default `22` port
|
|||||||
```bash
|
```bash
|
||||||
ssh user@ip -p 22222
|
ssh user@ip -p 22222
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Login without password
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# adds private key identities to the authentication agent
|
||||||
|
ssh-add ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
# use locally available keys to authorise logins on a remote machine
|
||||||
|
|
||||||
|
ssh-copy-id user@ip -p 22222
|
||||||
|
```
|
||||||
|
|
||||||
### IP table
|
### IP table
|
||||||
### Cron job
|
### Cron job
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user