If I have an encrypted external disk (or an internal disk that is not in fstab), I see an entry for it in Nautilus — with an entry like "X GB Encrypted Volume". I can click on this volume, and am prompted for a password to decrypt and mount the device.
But how do I do this from the command line?
This wiki page, and other docs I can find, only refer to GUI methods of decrypting the device; but this won't do in the context of headless servers or SSH logins. Is there a simple way to get devices to mount to automatic locations in
/media just like they would with the GUI?
(I'm not asking about encrypted home directories — I'm aware of
ecryptfs-mount-private. This question is about additional encrypted volumes.)