拿走不谢。
#!/usr/bin/env bash mkdir -p ~/.ssh chmod 700 ~/.ssh ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys
欢迎分享,转载请注明来源:内存溢出
拿走不谢。
#!/usr/bin/env bash mkdir -p ~/.ssh chmod 700 ~/.ssh ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)