生成SFTP密钥对,通常使用SSH密钥对,具体步骤如下:
ssh-keygen
ssh-keygen -t rsa -b 4096
-t rsa
-b 4096
id_rsa
id_rsa.pub
~/.ssh/