Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Ubuntu server 12.04 I can run the following command to mount a remote directory:

sshfs root@ /home/danny/nurserotas/

I am then prompted for the password for the remote server (

How could I run the above command, including the password entry, whenever the server boots?

share|improve this question

1 Answer 1

You can do this by editing /etc/fstab

This thread should be helpful: http://ubuntuforums.org/showthread.php?t=1173714

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.