Getting passphrase from terminal instead of GUI

Volker Stolz's Avatar

Volker Stolz

13 Mar, 2012 12:47 PM

Sometimes I'd like use ssh to log into my Mac at home which has the MacGPG setup (gpg (GnuPG/MacGPG2) 2.0.12). But when I want to decrypt a message from the commandline, the passphrase is requested on the MacOS desktop of the remote machine. Is there a way of telling gpg-agent(?) to ask me in the terminal? Probably I just can't find the right switch in the documentation (now that no-use-agent is deprecated).

Thanks in advance for your help!

  1. 1 Posted by Mento on 14 Mar, 2012 07:01 PM

    Mento's Avatar

    You can use GPG1 instead of GPG2.

  2. Luke Le closed this discussion on 14 Mar, 2012 11:44 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac