serverauditor通过itunes导入key

说明:
下载serverauditor用于iphone登陆远程服务器,需要导入密钥。itunes传密钥到应用里好慢,这里可以考虑安装完itunes后再安装itools,通过itools传密钥到应用里。密钥传输到应用里以后,还需要在serverauditor中,将密钥import导入一下。

具体:
1. Keys Import ­ iTunes File Sharing //key导入,itunes,我的iphone,选择文件共享,密钥扩展名需要为.key, .text, .txt, .ppk中的一种。
To use Key import feature via iTunes, you need your private key to be saved in a file with one of the following extensions: .key, .text, .txt, .ppk.
s1

This is how your private key should look like (PuTTY keys are supported as well). Our key is encrypted with passphrase “passphrase”.

-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,004B6E12E5CBE3C241B3A1CF0C5BB4F6

zyCubxJcNHRyQGU8vcSzTCddBHE09TWTSvmW5k3FkJ1qlJXRSmlz2vvt5C2evBRJ kQ4/8filOEsAb1J+f1ey0b7C2Oqe3HZKWcNt0cuyZbY8kZ2251i+MGz0l/QqlX/s lFmnkCmi3vcB1d+GjGQBXziZMyRMg7nGwuwjH+3SFX4Kz6L1ZKQL6hTb/t7abO7F E7kVzhmShUUujh4mktA34uAAauv23pTWiMFwd/XXlT3pKqAH7rkvtLRIJE0C3rYn dC8pmRIPyubVP+5lXWnVrwgm2pED1RndVR4McN5aKdk+KNr/L3QxAF5keqjp5bzS 2V/Ih3hRn83e9crdPK/mXlRxGBi+CpR111Msip6e1yitysFN/NOvPm1UPsbKrA9o AhjQH+j/1K7cm1AbuZWdHiv5/A0BqTqfmS1EWLae1K29khms52/beNXE7zzzz/1+ GjIklcu1lxYNXFU6kQP647AeJGsSsSGXTdGEwYmyyxujYYntuWN5oYAa0hK/SnjJ
/iqC1/8PDpVYaZRHlL39SEKSl8HvkPziWYTJj9ReK/JQdrVIKBhkBG49nL1n5zQV zVbShcF1gG/Z3SF2Qx/Vry8zrAC3B9mWFLzL5NZTpP3nD8xbKJo1v8mtfluAm2L+ V7a2igChY4I5lQtk8Oj4vJeb3sgIleq1ShV9860f83BUw6Y0nehpkLUNf5q67VVN dZAdvKS/29iWTUfAwFzhi9pjEB5Z9Ah/LObnvr+7eZPI6kRf64U36jJqVcp1TYTC tj9BIwyx/IctLcnGI+9ZewTj4GBABKecZYHrQCIeaQNo8Rr6qphs98v51UgfXZtS Y2eIECqv5h+7a1Iq2AbKuqKPmJx2Km7uZtKk+vyvXZZ3L/r/WJIUuxxA0XHb9Vg8 5AaWsWhP7McIv1duMhmnwZwXVqTX/zSEvuDnyvpNrQMPBoquYbv81WwRwR5xuCzR fx9mjpRGtZ3AlPnP3pZyfFSS2SM8O7t4jFV7iZT1+Gu+VHuF5OD+JNSJ/DH9QvUN
Fs/sYYG6j0K5rOWVeFhMjXKCELyIObrw+XEuM9G5HZAyPgs50svd7ZW6RTwVIz8q w5iwNjXeqac58BY83AiODfysJnRXhkpFQpRoNpx1zMbNnxdW9RDJuC0hHbWO2r+j 2WkbYi1veVgDnTnTNj4yAxI6qlt+hOazodhPxQj1Byg5W7ehJqn+Uo14w2xue+lu DmBxlXXRgLlDdhPRCLKc4imK2bqwb/a7qpCYnTPqPAj+uvXawXDShPi4BSCQJ8C4 EXp4LqnjOlI5SiZokswKnDqvqWH+QRq+dwdcmZ/NXS7V1bbFh7a3BEe1+9dugTyU wk3dM+jx8N3cZjLt5fZQ9qsNV2F9l47x9PsamfQxmUZFy3M1vExwKHBWxllme9GO ps8mcAye7fgQeMJR6yOKsTkqxr1jtrRs8aKGUjz7zgXFj5pRn6bVGXl3y2Ry4pmz 0L8qEeG3iquJQbQJtMIvEwnQ0iNL5R20w48VQoTET79RV0/sR4+bm2uydmNFDRvp
/kjlw1PjC9VCASJGwsrzjwkzLTjo+sZIiGUG8PQv60BV0hMBK6AMYc1/LBUppBeo
-----END RSA PRIVATE KEY-----

 
2. Now open iTunes and pick your device there. Choose Apps section and scroll to bottom to find File Sharing section. Find Serverauditor in the list of apps and add your key(s) in Serverauditor Documents. //打开itunes,选择你的设备,选择应用部份,下拉到底部找到文件共享。找到Serverauditor应用,添加密钥到Serverauditor文件夹下
s2

3. Now your key(s) can be accessible within the app. Run Serverauditor and open Keys section. //现在密钥已经在应用里了,我们需要运行Serverauditor,打开keys部份,将密钥导入到Serverauditor里面。如果不导入的话,在hosts那边是找不到密钥的。如下操作:
s3
s4
s5

附录:
原文出自serverauditor博客,原pdf文件平常是无法看到的。。。有需要的可以留言找我。

发表评论

邮箱地址不会被公开。 必填项已用*标注