LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2016, 11:05 AM   #1
ramsforums
Member
 
Registered: Jun 2007
Posts: 58

Rep: Reputation: 0
Smile sshfs to mount VPS hosted site on Linux Mint


I have a VPS Hosted website. I used to mount directly on my linux laptop and it was working. Past 3 months I never used and suddenly when I tried today it is not working.

I used to use the following command to mount

Code:
 sudo sshfs -o idmap=user root@1x8.2xx.78.x3:/  /mnt/netdrive
upon issuing the above command, password prompt appears and authenticated. But when I access drive I get error

See the screen short

http://i.imgur.com/9kRnJPO.png




Code:
robert@develop /mnt $ cd /mnt
robert@develop /mnt $ sudo ls -l
[sudo] password for robert: 
total 4
drwxr-xr-x 1 root 500 4096 May 23  2015 netdrive


if I try

Code:
ssh root@1x8.2xx.78.x3
It works fine.

May I request your help. Why I am unable to mount?

Thanks

Last edited by ramsforums; 07-28-2016 at 11:06 AM.
 
Old 07-29-2016, 04:02 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,522

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Because you are running it as root (with sudo) so your regular user doesn't have permission to access it.

Run the sshfs command as your regular user and mount it somewhere in your own home dir, say ~/netdrive or such.

Also, make sure your user is in the 'fuse' group.
 
Old 07-29-2016, 04:44 AM   #3
ramsforums
Member
 
Registered: Jun 2007
Posts: 58

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by descendant_command View Post
Because you are running it as root (with sudo) so your regular user doesn't have permission to access it.

Run the sshfs command as your regular user and mount it somewhere in your own home dir, say ~/netdrive or such.

Also, make sure your user is in the 'fuse' group.
Thank you. Solved. Appreciate.

It used to work before. I do not know why it suddenly stopped working.
 
  


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
Web site hosted on Linux Robinxh Linux - Newbie 2 06-26-2006 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 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