Windows上比较好弄。
工具:puttygen.exe
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
资料:
http://blog.bartmatusiak.com/use-your-putty-ppk-private-key-on-mac-os-x/
Ubuntu下操作:
- Linux:
sudo apt-get install putty putty-tools
- OS X:
brew install putty
puttygen private_key.ppk -O private-openssh -o private_key.ssh
这样就可以通过linux终端直接登录远程服务器了。
ssh user@host -i private_key.ssh