###user作成/パスワード設定
useradd xxx
passwd xxx
###sudersに追加
vi /etc/sudoers
%xxx ALL=(ALL) NOPASSWD: ALL
###公開鍵認証設定
###パスワードログインオフ
vi /etc/ssh/sshd_config
PasswordAuthentication no
PermitRootLogin no
systemctl restart sshd
Go to list of users who liked
More than 3 years have passed since last update.
###user作成/パスワード設定
useradd xxx
passwd xxx
###sudersに追加
vi /etc/sudoers
%xxx ALL=(ALL) NOPASSWD: ALL
###公開鍵認証設定
###パスワードログインオフ
vi /etc/ssh/sshd_config
PasswordAuthentication no
PermitRootLogin no
systemctl restart sshd
Register as a new user and use Qiita more conveniently
Go to list of users who liked