Mount encrypted volumes from command line?
Posted
by
cha
on Ask Ubuntu
See other posts from Ask Ubuntu
or by cha
Published on 2011-09-29T17:10:46Z
Indexed on
2012/06/16
9:23 UTC
Read the original article
Hit count: 272
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.)
© Ask Ubuntu or respective owner