Discussion on:

13
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Best way to access a remote file system!

Use encfs (another fuse fs) on top of a sshfs mount and you get not only the encrypted transport but also encrypted remote storage. Add rsync and you get a great setup for automated remote backups.
0 Votes
+ -
windows
pgit 17th Jun 2008
The ONLY thing I have not been able to accomplish with all this is to get rsync running on windows. To use it, there must be an instance running at both ends. But rsync on windows has alluded me thus far. =(

Unless I can accomplish that, the perfect automated backup of windows machines to a Linux server will remain a distant dream.
0 Votes
+ -
Unless you have your heart set on using rsync, you could use a Windows backup tool and simply set up a Samba share on the Linux server.
0 Votes
+ -
Windows rsync
Diggory 18th Jun 2008
You might want to try 'delta copy', it's a quite nice windows rsync tool.
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
0 Votes
+ -
alas
pgit 18th Jun 2008
It appears delta copy requires a windows machine for the server side. I don't see where I can get it to talk to Linux servers.

Trying "syncback" at the moment... erg~
0 Votes
+ -
alas not!
P. Ahles 19th Jun 2008
The system requirements state the following:

NOTE: If you have an "rsync" daemon running on Linux/Unix/BSD or any other platform, DeltaCopy client will successfully connect to them.

So no Windows server would be needed!
0 Votes
+ -
I used to have issues trying to mount a Samba share ever since it rolled over to using CIFS. It meant problems when UIDs were not the same on both systems.

Using the '-o uid=###, gid=###' option with sshfs helped me map the UID and GID I needed between the server and local machine, and that gave me the access I needed to the remote files.

NFS would be another option, but that means another service running simply for sharing files, and I don't need NFS if I use sshfs.

Good Stuff!
The command "usermod -G fuse joe" to add joe to the fuse group probably isn't the best method, as this will remove joe from any other groups he's a member of. This is a better way:
"gpasswd -a joe fuse"

Otherwise great blog entry!
0 Votes
+ -
whew...
pgit 17th Jun 2008
I had issued that command on this here Mandriva machine, but when I checked I was still a member of my own group.
0 Votes
+ -
clarification
cearrach 17th Jun 2008
Yes, I should clarify that "usermod -G" has no effect on a users initial/primary group, but rather just the supplemental groups.

If you were using group permissions to restrict access to devices, you may find you no longer have access to some of them.
0 Votes
+ -
correct
pgit 18th Jun 2008
I tested and things like "wheel" and "nobody, nogroup" were removed using usermod. It only preserved the user's own group, and of course added whatever I modified with the command.

Good to know.
0 Votes
+ -
unmount?
pgit 18th Jun 2008
When I try any iteration of the fusermount -u on one of these directories I get an error that /home/vina/sshfs can't be found in mtab. cat mtab shows it is.

Doesn't matter if I try full path, ~/, nothing preceding... just can't umount these durn things. BTW I am running Mandriva 2008.1
I don't thing you have to go through the effort of setting up a directory (though
you might want to if you use it alot).. try just typing
sftp://remote_user@remote_IP/directory into konqueror with FUSE.. enter
password when prompted, and open/edit files, or browse directories as if they
are local.. I believe this also works from within an open dialog in most KDE
apps.

Also, ctrl-shift-L in konqueror will split the window.. choose a local directory
if you do want to drag and drop files like a standard ftp client; ctrl-shift-R
returns you to a single pane window.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.