On Mac, "secret socks" is good choice for SSH. but it can not remember the password in the view. As the writer provide a source code on his blog, I decide to do it my own.

I opened the project and found that the info are saved in an NSDictionary. So it is easy to do. just add 3 line code to do this.

firstly, open SecretSocksController.m. This is main file for this application.

     1. add a line in the initial for *dict

     2. add a line in loadPrefs functions

     3. add a line in savePrefs

second, if you Xcode version is much higher, then you need to change the Base SDK version to 10.7. you can reference this snapshot below.

You can find the latest code in my github page  http://billmoling.github.com/secretsocks/

posted on 2013-01-23 22:40  潘安+宋玉  阅读(227)  评论(0编辑  收藏  举报