Skip to content

Instantly share code, notes, and snippets.

@xgz123
Last active September 18, 2016 05:37
Show Gist options
  • Save xgz123/5e9de4f1bace366956f783c9277331a9 to your computer and use it in GitHub Desktop.
Save xgz123/5e9de4f1bace366956f783c9277331a9 to your computer and use it in GitHub Desktop.
# ~/.ssh
# 生成
ssh-keygen -t rsa -C “[email protected]” #三下回车,密码为空
# 添加
ssh-add 文件名
# 复制到远程
ssh-copy-id -i user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment