Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. `# useradd -m -s /bin/bash <username>`
  2. `# passwd <username>`
  3. `# usermod -aG wheel <username>`
  4.  
  5. Add keys to .ssh
  6.  
  7. `# vi /etc/ssh/sshd_config`
  8. change:
  9. ```
  10. ChallengeResponseAuthentication no
  11. PasswordAuthentication no
  12. UsePAM no
  13. PermitRootLogin no
  14. ```
  15.  
  16. `# systemctl reload sshd`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement