Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 208 Bytes

user.md

File metadata and controls

13 lines (9 loc) · 208 Bytes

create new user

adduser sammy

add user permission

usermod -aG sudo sammy

copy ssh pub key

ssh-copy-id sammy@your_server_ip

Disable password auth

vim /etc/ssh/sshd_config

PasswordAuthentication no