添加用户
useradd dev
passwd dev
usermod -G wheel dev
生成ssh
ssh-keygen
copy到目标服ssh-copy-id [-i [identity_file]] [user@]machine
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
useradd dev
passwd dev
usermod -G wheel dev
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
本文标题:添加用户到管理员以及ssh-keygen
本文链接:https://www.haomeiwen.com/subject/wrgniktx.html
网友评论