ssh 相关

ssh-keygen 创建公私钥秘钥对 ssh-copy-id 拷贝本地公钥到远程主机到 authorized_keys 文件 ssh-add 将私钥加载到本地主机上的SSH代理 生成秘钥对 local $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/os …