LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-24-2011, 05:30 AM   #1
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
sshfs file system mount username and root on single line


Hi
i m working on mounting my netdrive on remote system

i used the following command
sshfs root@10.200.1.66:/temp /netdrive
password:
fusermount -u /netdrive/


its requesing for password how can i make password too on single line


Regards
saravanakumar
 
Old 11-24-2011, 11:20 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,087

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by arun5002 View Post
Hi
i m working on mounting my netdrive on remote system

i used the following command
sshfs root@10.200.1.66:/temp /netdrive
password:
fusermount -u /netdrive/

its requesing for password how can i make password too on single line
Did you read the man page on sshfs? There is an option to specify it on the command line, per the man page via STDIN, which you could use the "<" to supply. Since it's SSH, you can do a keyswap also...Google has lots on this subject, if you looked:
http://ubuntuforums.org/showthread.php?t=430312&page=6
Quote:
Regards
saravanakumar
Really??? A THIRD user ID?? Ramecare, saravanakumar, and this one??
 
  


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
Gentoo => No file system could mount root dauphinfay Linux - Laptop and Netbook 1 05-23-2010 01:37 AM
Mount sshfs as root using sudo maxmil Linux - Newbie 2 01-05-2010 04:43 AM
mount :could not find file system '/dev/root' AjayCelst Linux - Embedded & Single-board computer 2 07-13-2009 01:34 AM
Unable to mount root File system C-Sniper Slackware 19 12-10-2007 03:37 PM
LXer: Mount a remote file system through ssh Using sshfs LXer Syndicated Linux News 0 09-16-2007 10:00 AM


All times are GMT -5. The time now is 09:58 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration