Open pokerLife opened 4 years ago
粘贴以下内容到git bash
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
执行以下命令将公钥拷贝到服务器上:
$ ssh-copy-id username@192.168.0.1 # 服务器ip和用户名
接下来使用如下命令就可以快速访问服务器了:
ssh 'username@192.168.0.1'
粘贴以下内容到git bash
执行以下命令将公钥拷贝到服务器上:
接下来使用如下命令就可以快速访问服务器了: