mounting ssh over the network prompt for password everytime
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
yes, I know, but I thought that sshfs needed sudo priviliges.... anyways, I tried running without sudo and still didn't work, and it was b/c of permission /media/share was created with sudo, so I had to give it the right permission in order to mount with sshfs..... but now it ask me for passphrase to my key... I guess that when I created the key, I entered a passphrase. I'm gonna have to recreate the key without passphrase... but I think I got it working. It was a permission issue
If you do want root to mount this for you then (eg via the "mount -a" call at boot time) you can have the remote hosts user accept roots public key (ie add it to the ~/.ssh/authroized_keys file), and specify the uid and gid as mount options. Eg
schneidz@xbmc:~$ cat .profile | tail
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
(sleep 45 && /usr/bin/sshfs schneidz@mom:media/stuff hyper) &> /dev/null &