Alternative to sshfs?


 
Thread Tools Search this Thread
Operating Systems Solaris Alternative to sshfs?
# 1  
Old 03-28-2011
Question Alternative to sshfs?

I have an automated testing script that relies on the dev box being able to see production's (NFS) share. It uses rsync and ssh to handle transfers and command execution; however, it also needs the production share mounted in order to run Perl code against it when Unix commands via ssh will not do.

The problem I have is this: in the future our development box will be relocated and it will no longer be able to mount the production share. Smilie

sshfs would solve my problem, but it's not supported on Solaris 10. I'd prefer not to split up my script-partial functionality on dev and partial on production-and I may be able to work around this by stringing together convoluted commands to pass through ssh. Still, this is not ideal.

Is there an sshfs-like solution for Solaris that might make my work easier?

Thanks.
# 2  
Old 03-29-2011
There's not panacea solution here IMHO. And in fact, my guess is the same reason why NFS mounting is no longer a solution, would actually affect your ability to use sshfs long term for (maybe) the same reasons.

There are other types of remote filesystems... not sure if those are options or not (e.g. AFS, CIFS).

Another possibility would be a Linux proxy that they might allow to do the mount locally and then the remote uses sshfs through it?? But I still fear the issues that made doing the NFS mount not feasible.

The other alternative (as you kind of implied) is to rewrite... the rewrite would likely be portable enough to replace both views though, so no need to maintain two code bases (IMHO).

Forward looking, openSolaris FUSE work has been picked up again by Oracle and promised in Solaris... so possible that Solaris 11 has FUSE and thus sshfs as well.
# 3  
Old 03-29-2011
If you have SSH access, and the NFS export continues to be available, you could tunnel NFS through SSH, as described here.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

2. Shell Programming and Scripting

Sshfs script

Hi, I am new to this forum. I want to setup my personal Dropbox between my home server and the work station in the office. I followed this tutorial danbishop.org/2011/09/10/...-in-os-x-lion/and it works great. :) The trouble now is I am not sure how I can make it to start on boot. ... (3 Replies)
Discussion started by: macpc
3 Replies

3. Solaris

vi alternative

Is there any other editor, installed by 'default' in Sparc Solaris10, besides vi? I'd like to avoid installing anything new. If not, how to make vi more user-friendly? thanks. (8 Replies)
Discussion started by: orange47
8 Replies

4. Shell Programming and Scripting

ssh, truecrypt, sshfs in a script

Hello all, First time posting, although the site has helped solve many problems in the past! I would like to create a script to simplify a series of commands that I run: Log into the ssh-server (RSA key) ssh username@hostname -p 6110 Once there, I mount a truecrypt volume: truecrypt... (3 Replies)
Discussion started by: freshtoast
3 Replies

5. Shell Programming and Scripting

Alternative for wc -l

Hi techies .. This is my first posting hr .. Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db I have used wc -l to confirm whether the loader... (14 Replies)
Discussion started by: rajesh_2383
14 Replies

6. Shell Programming and Scripting

Mount twice sshfs dir

Hi everyone. I have 3 machines, let's call them store, node1 and node2. I have to mount on node1 and node2 the same directory of store. So, I launch the sshfs command on node1 and everything works fine. But when I try to do that on node2, it hangs for a while and then I obtain:... (0 Replies)
Discussion started by: canduc17
0 Replies

7. UNIX for Dummies Questions & Answers

sshfs twice on the same dir

Hi everyone. I have 3 machines, let's call them store, node1 and node2. I have to mount on node1 and node2 the same directory of store. So, I launch the sshfs command on node1 and everything works fine. But when I try to do that on node2, it hangs for a while and then I... (0 Replies)
Discussion started by: canduc17
0 Replies

8. HP-UX

alternative for egrep -o on HP-UX

Hello to all board members!! I have a problem on a HP-UX system. I should write a script. Therefore I need to search after IP addresses in the output of a command. On Debian this works: ifconfig | egrep -o "{1,3}\.{1,3}\.{1,3}\.{1,3}" The script where i need this is not ifconfig, but... (2 Replies)
Discussion started by: vostro
2 Replies

9. Solaris

Solaris 8 and sshfs

Hi, all.. Does Solaris 8 support sshfs? (Sorry if my question is too simple :o) We are going to mount a file system from Solaris 8 on HP-UX 11i. Will things will go smoothly with this? Will there be any performance problem if the number of users grow to perform I/O operations on mounted fs? ... (4 Replies)
Discussion started by: swmk
4 Replies

10. Shell Programming and Scripting

help with while loop or any other alternative?

i=1 while do mm=02 dd=03 yy=2008 echo "$mm$dd$yy" i=$(( i+1)) echo "$i" done whenever i execute the script above i will get the error below: syntax error at line 30: `i=$' unexpected (3 Replies)
Discussion started by: filthymonk
3 Replies
Login or Register to Ask a Question