cat ~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys cat ~/.ssh/id_rsa.pub 复制内容 ssh 10.10x.xx.xx su - webuser vim ~/.ssh/authorized_keys 粘贴进来