Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-29-2012, 12:27 AM   #1
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Rep: Reputation: 2
How does one make a virtual ssh directory?

I need a place to put my recovered files (which is why I need a virtual directory.), but my desktop computer does not have as much space as my laptop. So I need a way to send over the files, so I can finish the recovery. Both computer run Slackware64, my laptop runs current and my desktop runs stable.

Whole story about the recovery:

I accidentally deleted a very important directory on my external hard drive, and my desktop does not have enough space on it to recover it. (Which is why I have the external hard drive, is because I do not have enough space on my desktops hard drive.) But my laptop does have enough space, though extundelete seg faults on it, everytime because of how the libraries are set up on it.
Old 08-29-2012, 12:41 AM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,040

Rep: Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409

sounds like you want to use sshfs. To mount a directory or partition from hostb on hosta while currently logged onto hosta you could do:

mkdir -p /path/to/somewhere/hostbdir
sshfs user@hostb:/path/to/some/dir/on/hostb /path/to/somewhere/hostbdir
Now any program can copy files to hostb while on hosta just by dropping files into /path/to/somewhere/hostbdir/

To unmount it you can do
fusermount -u /path/to/somewhere/hostbdir
Caveats: this requires fuse and sshfs on hosta (only sshd on hostb). I do not know what packages provide these on slackware. Also note that at least in Debian the user using sshfs needs to be in the fuse group.


Old 08-29-2012, 01:29 AM   #3
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Original Poster
Rep: Reputation: 2
thank you, I knew what I was looking for, but google was not helping.

I tried googling the following terms:
virtual ssh directory on linux
virtual ssh directory

and nothing but websites talking about software for windows I should buy.


network, recovery, slackware64, ssh, virtual

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
Which is safer? Only ssh +scp for 2 users? Or ssh (1 user) + vsftpd (1 virtual user) bvz Linux - Security 2 09-18-2011 08:55 PM
ssh authorized keys from one directory to another directory did not worked tkmsr Linux - Software 4 10-25-2010 08:28 AM
virtual directory lipun4u Linux - Software 1 10-02-2008 01:53 AM
Can I Make make Believe Root Is a Different Directory? binarybob0001 Linux - General 5 11-20-2006 03:33 AM
virtual host going to different directory ekrumm Red Hat 3 08-20-2005 11:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 AM.

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