Remote Login (SSH) and File Vault

Hello all : ) I'm having a small problem related to File Vault and logging in remotely via SSH. And this is the thing: All user accounts have File Vault enabled. This setting works alright when users login directly at the computer. However, when connecting via SSH (Remote Login), the home folders are not yet attached, i.e. File Vault is not yet active. Each folder can be attached if a command like "hdiutil attach /Users/username/username.sparcebundle" is executed. But this isn't very cool... So, my question is: are there any configuration parameters one can fiddle with to ensure that each home folder is automatically attached when a user logs in remotely? TIA! -- Miguel

MacBook, Mac OS X (10.5.2)

Posted on May 10, 2008 5:43 PM

Reply
17 replies

May 11, 2008 10:14 AM in response to Miguel Almeida

I think you will have to create a separate "logout script" of sorts that will run the unmount command and then give an exit command. I dont think there is a way for SSH to run a script upon logging out or exiting. However, there are some folks who've created "parent" scripts where when they log in the script launches a new bash session and pauses during that session. When the session is over it continues and runs some other commands before exiting. I'm not entirely sure how to set this up, as the RC script runs and completes before the user is able to do anything. It might be feasible to run it in the RC script...dunno though.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Remote Login (SSH) and File Vault

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.