1
vote
2answers
78 views

Save and restore data with command line

I will zip a file with a password. Then, I will write a script and ask: if (have the password saved) { unzip file } else { ask password save password unzip file } I want the user ...
19
votes
10answers
23k views

Password dialog appears when SSH private key permissions are set to 0600

I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to ...
3
votes
1answer
5k views

Is it possible to view passwords through Terminal?

Does anyone know how to view passwords in Terminal? Maybe by accessing the Keychain data or something? I want to be able to view passwords in Terminal with just a series of commands.