more instructions
This commit is contained in:
parent
0276a90ceb
commit
5f164e2baf
3 changed files with 32 additions and 4 deletions
27
how_to_disabe_ssh_pwd_auth.md
Normal file
27
how_to_disabe_ssh_pwd_auth.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
Go to file /etc/ssh/sshd_config
|
||||
|
||||
Find param `ChallengeResponseAuthentication` and set to `no`.
|
||||
|
||||
```bash
|
||||
ChallengeResponseAuthentication no
|
||||
```
|
||||
|
||||
Find param `PasswordAuthentication` and set to `no`
|
||||
|
||||
```bash
|
||||
PasswordAuthentication no
|
||||
```
|
||||
|
||||
Find param `UsePAM` and set to `no`
|
||||
```bash
|
||||
UsePAM no
|
||||
```
|
||||
|
||||
It may also be a good idea to disable root login
|
||||
```bash
|
||||
PermitRootLogin no
|
||||
```
|
||||
|
||||
|
||||
Reload ssh server with `etc/init.d/ssh reload`
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
- Go to file /etc/ssh/sshd_config
|
||||
- Find param "ChallengeResponseAuthentication" and set to "no"
|
||||
- Find param "PasswordAuthentication" and set to "no"
|
||||
|
||||
5
to_access.md
Normal file
5
to_access.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
noesfacilvivirenunmundocentralizado
|
||||
|
||||
ssh port is modified to 69420
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue