Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `# useradd -m -s /bin/bash <username>`
- `# passwd <username>`
- `# usermod -aG wheel <username>`
- Add keys to .ssh
- `# vi /etc/ssh/sshd_config`
- change:
- ```
- ChallengeResponseAuthentication no
- PasswordAuthentication no
- UsePAM no
- PermitRootLogin no
- ```
- `# systemctl reload sshd`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement