Networking :: Is There Any Alternative To SSHFS

Oct 13, 2010

I know that SSHFS is the way to mount the file and directory on remote server. It has many advantages such as security, convenience, fast and so on. I wonder if there is disadvantage of SSHFS and the alternative to it? I am looking forward to your reply.

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: SSH Port Forwarding With X11 And SSHFS?

Nov 2, 2010

I've used wake on lan and SSH on the local network for some time now. I also used SSH to mount a filesystem (SSHFS / sftp, same thing, right?) and I could forward X11, loved it. I used both these options for my convenience. So I decided it was time to open up some ports on my router (Linksys WRT320n running dd-wrt) and try to set up a remote connection. This actually worked after some time, so I'm now able to turn on my home computer from the Internet (school in my case) and then log in to it through SSH. I set this up using other ports then the default ports. Something like this (these are not the actual ports I use, just examples):

port 2112 -> port 9 (for wol, wake on lan)
port 2113 -> port 22 (for SSH)

This information might be useful: I set this up using public and private keys. This is necessary for SSHFS to work properly I think and it also makes it more secure. And then I found (and had some presumptions that this was going to happen) that both SSHFS and X11 were not working. I'd rather not open up more ports on the router for security's sake though, so I'm asking for other solutions. And if there really aren't any other solutions then which ports to forward. And if forwarding is really necessarily then how to make the client use port 2114 for SSHFS and 2115 for X11 so I can forward those ports to the default ports.

View 3 Replies View Related

Ubuntu Networking :: Mount Sshfs After Network Initialization?

Apr 8, 2011

I've got a non-vital sshfs filesystem in my fstab (by non-vital I mean just files that I access on-demand).However, the fstab file seems to get read and things try to mount before the network has been brought up. I recently switched to Kubuntu 10.10 from Arch, and Arch didn't display this behaviour.I'm wondering if it's possible to make it mount the sshfs filesystem AFTER the network has been brought up?

View 2 Replies View Related

Ubuntu Networking :: SSHFS Crossover Cable Connection 10x Slower In 10.04

May 2, 2010

I have a desktop running Ubuntu 8.04. I installed 10.04 on my laptop. When I mount my desktop music folder on my laptop and transfer files, they now only go at 100-200 KB/s. When I had 9.10 installed, they transferred at 1-2 MB/s.

This is the command I use to mount the directory:
sshfs matt@169.254.6.233:/home/matt/Music/ /home/matt/Music/desktop/
Is there any way I can speed it up to get it back to max speed?

View 1 Replies View Related

Networking :: Limiting Sshfs Access To Specific Directory / Tunneling Nfs Over Ssh

Jan 22, 2010

I have a server with a /data/ directory, everything in the /data/ folder has "-rwxrw-rw- 1 root root" permissions.all works fine, multiple users are mounting this over a lan and everyone is able to modify files. However I would like to be able to access the /data/music/ directory from the internet.

Is it possible to configure sshfs to only accept logins from a user restricted to reading the /data/music directory, or would it be possible to tunnel nfs over ssh in such a way that everyone on the lan 192.168.0.xxx has unrestricted access to the data directory, but something coming from outside only has read access to the music directory. Although is one were tunneling nfs over ssh, the nfs mount request would appear to come from the server itself. The router is at 192.168.0.1 and the server is at 192.168.0.3.This Seems very much like what I want to do, however I'm having a bit of trouble getting this to work well with other users mounting with full rights over the lan too.

View 5 Replies View Related

Networking :: Tomato QOS Does Not Work - Looking For Alternative With VPN

May 11, 2010

I need QOS on my network to limit bandwidth on an ip/mac address level, while monitoring bandwidth, banning sites, and keeping VPN (openVPN). Tomato is nice and simple, elegant graphs and user interface, and fits nicely on a wireless router (love to save hardware space), but the lack of a true QOS is getting annoying (bandwidth hoggers! would like better solution than to keep surprising them at their desk and asking nicely to check their bandwidth usage).

Is there a better solution to my problem? I'm I going to have to go full fledge Linux on a computer tied to wireless router and comcast to satisfy all that I need? or is there a better linux-like software I can put on my router (wrt54g v.3)?

View 3 Replies View Related

Networking :: Alternative Routing For Local Process?

Nov 26, 2010

I have a multihomed server, connected on two different ISPs. All default trafic goes to ISP1 via wan1. There is special local processes in my system, what must go through ISP2 via wan2. This processes are make connections to TCP:80.

What did I do:

[root@localhost ~]# ifconfig wan1 10.44.8.252 netmask 255.255.255.0 broadcast 110.44.8.255 up
[root@localhost ~]# ip r r default via 10.44.8.1

[code]....

I see that frames goes out with SRC of wan1... I tried this:

[root@localhost ~]# iptables -t nat -I POSTROUTING -o wan2 -p tcp --dport 80 -j SNAT --to-source 192.168.86.2

and saw:

[root@localhost ~]# telnet 194.87.0.50 80
[root@localhost ~]# tcpdump -i wan2 -nnt port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

[code]....

The connection did not established... Conntrack does not see it!

View 2 Replies View Related

Networking :: Alternative Solution For Internet Connection To CentOS

Nov 12, 2010

i am a fresher to linux. presently i am using CentOS for getting some experience in that. but i have a problem with internet connection using in CentOS. i am using prolink USB ADSL2+ modem (H5200U). so, i request from all readers to give alternative answer.

View 2 Replies View Related

CentOS 5 Networking :: WVDIAL Will Not Dial Alternative Number?

Apr 6, 2010

Using Centos 5.4 I've successfully set up pppd and wvdial to automatically dial out but I need wvdial to call an alternative number if the number is busy or dialout fails for some other reason and I cannot get this to work. I've gone back to basics and tried manually soliciting wvdial with a minimal wvdial.conf:

[Dialer ppp-client]
Password = secret
Modem = /dev/ttyS1
Phone = 11111111111
Phone1 = 22222222222

[Code]...

View 3 Replies View Related

OpenSUSE :: Sshfs Was Working Before - Sheesh

May 5, 2010

Sshfs was working before - sheesh, I was using it! Today, all I get is an error that tells me it can't find the command. So I go to yast and reinstall it. No change - I'm still getting the error! What could be going on?? Fuse is installed.

View 2 Replies View Related

Ubuntu :: Rsnapshot Over SSHFS And ENCFS

Apr 29, 2010

Right, just a quick question about rsnapshot over sshfs and encfs. I've set up an encfs filesystem, and when mounted on the remote machine remotely:

Code:
touch foo.bar
Code:
cp -al foo.bar foo.car
Works as one would expect it to.

The same is true on the local machine (The EncFS has External IV chaining disabled). However, when the remote dir is sshfs mounted on my computer here, and then encfs'd to a decrypt mount on my computer, I can move files to it, and they go over the network and get encrypted, however:

Code:
cp -al <file> <file>
No longer works, I get 'not implemented' errors...

I thought since I don't have External IV chaining this shouldn't be an issue - I've tried without any of the file chaining options, again to no effect. All work remotely, or with both locally, but not over sshfs. Is this a quirk of sshfs?

View 1 Replies View Related

Ubuntu :: Gedit Not Saving To Sshfs?

May 6, 2010

I just updated to 10.04 from 9.10 and suddenly gedit is saying I don't have permission to save files in an sshfs-mounted directory. Nothing I've found through Google works.

* I'm mounting using `sshfs james@of1-dev-james:/home/james/projects $HOME/projects`

* `fuse` is listed in /etc/modules

* I'm a member of the `fuse` group

* Using `newgrp fuse` before mounting stops gedit from seeing the mounted directory at all.

* /dev/fuse belongs to `root:fuse` and has `crw-rw-rw-` permission.

* Other apps e.g. `nano` have no problem reading/writing to this directory.

View 6 Replies View Related

Security :: Single Purpose Ssh Key For Sshfs?

Mar 6, 2010

I'm wondering if anyone can give me some guidance, or point me to a relevant reference for setting up a single purpose ssh key.I have setup a single purpose key for rsync, where I have command="/path/to/rsync-secure" associated with the public key in .ssh/authorized_keys, and the rsync-script checks to make sure incoming commands begin with 'rsync --secure', What I would like to do is do something similar to allow sshfs access, and have the server path that can be mounted locked down to a particular location. Does anyone have any suggestions as to how this could be done?As an aside, I might also want to restrict the above rsync script to only allow synchronization to a particular path.

View 1 Replies View Related

Server :: Unable To Install Sshfs?

May 25, 2011

install sshfs in centos 5.5 but i was not able to get the correct package to install.

View 5 Replies View Related

Ubuntu :: Cannot Edit Files Via Sshfs/fuse

May 4, 2010

sometimes i edit files in a remote server. i normally mount the remote drive via sshfs and edit a configuration file or two and some text files using gedit. after i upgraded to 10.04 i cannot save the files that i edit anymore. i can rename the file. but the weird thing is that i cannot save the file after i edit it. one of the files that i was editing is crontab.

View 4 Replies View Related

Ubuntu :: Automatically Mount Sshfs Upon Startup?

Jun 17, 2010

I use this command to mount sshfs:sshfs -o idmap=user user@ip:/home/user/public_html ~/FolderThen I enter my password. I do this every time I start my computer

View 3 Replies View Related

Ubuntu :: Sshfs + Gedit Can't Save File?

Nov 18, 2010

I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to change sshfs connection to make gedit work without chmodding every file? (I use -o uid=`id -u` -o gid=`id -g`, so that remote files seem to be owned by me)

Code:
$ touch test.txt
[!] test.txt appears
$ vi test.txt
[!] :wq -> saves just FINE

[Code]...

View 4 Replies View Related

Ubuntu :: SSHFS Over VPN Breaks When Connection Lost?

Dec 2, 2010

I am mounting a remote directory using sshfs, over VPN. If the VPN connection is lost, the directory obviously can't be read. But, when I try to "ls" in its parent directory, the command just stalls. No error messages, and ctrl-d, ctrl-c, ctrl-z don't do anything. The command I ran to mount the directory was:
Code:
sshfs -o workaround=rename bt@example.com:/dir1 /dir1

View 2 Replies View Related

Debian Configuration :: Mounting A Remote Sshfs Share?

Apr 2, 2011

I have two remote systems which I have fstab entries for on the local system. I have them set to noauto, because mount fails during boot for some reason, but that's not the problem. For years I've mounted them in rc.local.

The problem is after I recently reinstalled Debian, when I mount them manually it always asks for my user's password. I've copied my user's pub key from the local to the remote system and put it in the user authorized_keys file (not root), like I always have. But it still asks for a password, and so fails to mount in rc.local.

View 2 Replies View Related

Fedora :: Sshfs Entries In /etc/fstab Prevent Booting

Jun 3, 2011

I added an sshfs entry fto /etc/fstab in a fresh FC15 build ona laptop and this seems to work

sshfs#user@server:/opt/apache-tomcat-7.0.2/webapps/ /mnt/server/opt/apache-tomcat-7.0.2/webapps/ fuse uid=500,gid=500,allow_other 0 0

I can mount and umount /mnt/server/opt/apache-tomcat-7.0.2/webapps/ without problems.

But after a reboot the systme it hangs when loading, I can't copy paste the messages but it said something about boot dependencies, and it was apparent the error was loading fstab. I had to Ctrl D or enter root password to get a recovery system, after commenting out the sshfs line (and some nfs lines too) from /etc/fstab after another reboot I was in.

sshfs used to be permitted in /etc/fstab it seems , I've not used it before, could this be a FC15 issue? I have seen other threads about FC15 and nfs boot issues presumably to do with the new booting mechanism.

View 2 Replies View Related

Ubuntu :: Sshfs Runs Fine But Can't See The Mounted Content?

Jul 31, 2011

I was able to run sshfs successfully, but I am not able to access the mounted folder. For example, if I execute the following commands, I will get stuck at the last step "cd folder" forever.

username@username-laptop:~$ sshfs username@IP_address: folder
username@IP_address's password:
username@username-laptop:~$ cd folder

similarly, if I try to do a "ls" in the parent folder, it will also get stuck.

I am able to ssh to the remote server though.

View 9 Replies View Related

Software :: SSHFS - Permissions Denied On Mounted Directory

Jul 8, 2011

I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...

SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12

View 9 Replies View Related

Ubuntu :: Bash Script That Uses Sshfs To Remotely Mount A SSH Directory?

Apr 23, 2010

I have a bash script that uses sshfs to remotely mount an SSH directory.

Where should i place this script so it mounts with route privileges?

One consideration is i use VPN so the directory needs to be mounted after openvpn is started.

View 3 Replies View Related

Ubuntu :: GnuCash - Connect Via Sshfs To The Program Icon On Desktop?

Jun 18, 2010

I use GnuCash on my desktop but want to be able to access it from my laptop. I can connect via sshfs to the program icon on my desktop but when I click it I am told I cannot do this due to security issues. does anyone know if its possible to get this to work?

View 1 Replies View Related

Ubuntu :: Sshfs Command In Launcher With Password-protected Private Key?

Jul 13, 2010

I'd like to connect to a site via the sshfs command from a launcher on the task bar. The problem is, instead of prompting for the password for my private key (key based authentication)the launcher freezes the computer.The command runs fine from the terminal... but is there a way to add a password prompt to a launcher?

View 2 Replies View Related

Ubuntu :: SSHFS Setup On Desktop To Mount HDD (Write Permissions)

Oct 17, 2010

I'm trying to set up sshfs on a desktop/fileserver so that I can mount its HDD's I use for storage on my laptops. My issue seems to be getting permission to write to the mounted drives. I just keep getting permission denied. here is what I think are some relevant tidbits.
mount point on server,

Code:
joe@joe-desktop:~$ ls -ld ~/sda2
drwxr-xr-x 2 root root 16384 1969-12-31 19:00 /home/joe/sda2

HDD I'm trying to mount
Code:
joe@joe-desktop:~$ ls -ld /dev/sda2
brwxrwxrwx 1 joe disk 8, 2 2010-10-17 15:22 /dev/sda2

Mount point on client
Code:
joe@joe-laptop:~$ ls -ld ~/sda2
drwxrwxrwx 2 joe joe 4096 2010-10-17 19:58 /home/joe/sda2

This is the command I'm trying to use to mount
Code:
sshfs joe@192.168.1.103:/home/joe/sda2 ~/sda2

I can chmod the mount on the server to 777 but as soon as I mount the HDD to the server all write permission just goes *poof* and its back to "drwxr-xr-x".Chown seems either, it just wont stick.

View 8 Replies View Related

Ubuntu Security :: Adding User With Access To Mount Point Over SSHFS Only

Sep 2, 2010

I'd like to add a user to my server that will only have access to a mount point over sshfs. Is there any way I can provide them this access without actually giving them permission to open a terminal on my server? I tried /bin/false and /sbin/nologin already, but /bin/false didn't allow the mount point to be made and /sbin/nologin prevented a login completely (also stopped the mount point from working).

View 6 Replies View Related

Software :: Limit Mount Points Of SSHFS To Just User's Home Directory

Apr 21, 2010

We recently had a serious loss of data because of SSHFS mounting. A user in our group mounted the entire home directory of our server (/home). This was so they could easily move between user folders to read/write data from other people involved in the same project. They then deleted several folders that were not in there home directory.

Now I know this is a bad idea and that there should be a dedicated "projects" folder where everyone collaborates and does their stuff. Such a folder/system exits but I can't make them use it. My question: Is there anyway to configure SSHFS such that the only thing the user's can mount is their home directory? Obviously this won't fix the problem since they can sym-link to other folders but I've got to start somewhere. Perhaps there's a better solution (one that doesn't involve me nagging users about proper form).

View 4 Replies View Related

Debian :: Mount Sshfs At Startup - Get Mount For UserA To Happen On Boot

Mar 18, 2011

I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.

View 4 Replies View Related

Slackware :: Autofs + Sshfs "Directory Not Found"

Jun 17, 2010

Having some troubles with sshfs + autofs. Roughly following this guide here: [URL] Here is /etc/auto.master:

[Code]....

But when I 'cd' to the dirs /mnt/sshfs/remote1 or /mnt/sshfs/remote2, I get this error:

Code:
bash: cd: remote1/: No such file or directory

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved