LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2012, 06:56 AM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Rep: Reputation: 13
SSHFS - Mounting at Startup


Hi all,

I use SSHFS to share files, and between my Desktop (upstairs) and my 'Media' computer downstairs it'd be quite handy to have the Desktop mount the Media's share folder at start-up.

The SSH key is 'encrypted' (although the pass phrase is remembered so unlocked when I log in). Due to this, I figure that /etc/fstab won't work because the key needs to be unlocked before it mounts? I added my alias line to the start up
Code:
sshfs -o idmap=user $USER@media:/media /media/media
but it doesn't work.

I've tried searching the forums, as I cannot be the only person who wants to do this, but I can't find any threads I can really understand.
 
Old 06-22-2012, 11:32 AM   #2
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Original Poster
Rep: Reputation: 13
Simple solution to this, within the startup applications list, I swapped
[code]sshfs -o idmap=user $USER@media:/media /media/media[code]
for
Code:
sshfs -o idmap=user insertusernamehere@media:/media /media/media
It now works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mounting Remote Directories With SSHFS On Ubuntu 11.10 LXer Syndicated Linux News 0 12-06-2011 03:50 PM
LXer: Mounting Remote Directories With SSHFS On Debian Squeeze LXer Syndicated Linux News 0 09-22-2011 07:40 PM
mounting serial ports over sshfs, permission problems lawson Linux - Networking 5 12-24-2009 03:59 PM
sshfs error when mounting "remote host has disconnected" thew00t Linux - Server 3 04-14-2007 07:32 AM
sshfs mounting read-only cgraf Linux - Software 1 08-18-2006 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration