PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > using remote files with local programs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

using remote files with local programs

Réponse
 
LinkBack Outils de la discussion
Vieux 11/04/2007, 20h30   #1
Kamaraju S Kusumanchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut using remote files with local programs

Let's say I have two machines.

machine_local
machine_remote

machine_local is under my control (say my personal desktop). I have root
access to it (say root_local) and can pretty much do whatever I want on it.
It currently runs Debian. Let's say the user name on machine_local is
user_local.

machine_remote has huge hard drive space, contains user account user_remote.
However the problem is that machine_remote is maintained by some other
person (say root_remote) who is reluctant to install new software, provide
nfs access etc., Moreover, machine_remote is not running Debian but some
other Linux distribution (say Redhat 8).

My question is that

Without bothering root_remote and just using the ssh account
(user_remote) on machine_remote, would it be possible to use/mount those
files onto machine_local as if they were local files?

The advantage is that, I can run latest and greatest software on
machine_local and at the same time take advantage of facilities like huge
hard drive space, frequent backups etc., on machine_root.

Please note that running NFS server on machine_root is not an option, since
it would involve bothering root_remote for granting access to
machine_local.

Any other ideas/suggestions?

thanks
raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 11/04/2007, 20h40   #2
Mathias Brodala
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using remote files with local programs

Hello Raju.

Kamaraju S Kusumanchi, 11.04.2007 21:24:
> Without bothering root_remote and just using the ssh account
> (user_remote) on machine_remote, would it be possible to use/mount those
> files onto machine_local as if they were local files?


Of course. Search for sshfs; it works just perfect.


Regards, Mathias

--
debian/rules


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGHTgqYfUFJ3ewsJgRAn5DAJ4/hW2Cslcwqrj0iQhGVuZba6NOrgCfZWf+
6fAXm5KjJJUBpqEv9wBfJnI=
=HXXI
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 11/04/2007, 22h10   #3
Kamaraju S Kusumanchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using remote files with local programs

Mathias Brodala wrote:

> Hello Raju.
>
> Kamaraju S Kusumanchi, 11.04.2007 21:24:
>> Without bothering root_remote and just using the ssh account
>> (user_remote) on machine_remote, would it be possible to use/mount those
>> files onto machine_local as if they were local files?

>
> Of course. Search for sshfs; it works just perfect.
>


This is just amazing! Works awesome! I wish I had known about it earlier. I
think it definitely deserver one of those Debian package-of-the-day
entries....

raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 11/04/2007, 23h20   #4
Greg Folkert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using remote files with local programs

On Wed, 2007-04-11 at 15:24 -0400, Kamaraju S Kusumanchi wrote:
> Let's say I have two machines.
>
> machine_local
> machine_remote
>
> machine_local is under my control (say my personal desktop). I have root
> access to it (say root_local) and can pretty much do whatever I want on it.
> It currently runs Debian. Let's say the user name on machine_local is
> user_local.
>
> machine_remote has huge hard drive space, contains user account user_remote.
> However the problem is that machine_remote is maintained by some other
> person (say root_remote) who is reluctant to install new software, provide
> nfs access etc., Moreover, machine_remote is not running Debian but some
> other Linux distribution (say Redhat 8).
>
> My question is that
>
> Without bothering root_remote and just using the ssh account
> (user_remote) on machine_remote, would it be possible to use/mount those
> files onto machine_local as if they were local files?
>
> The advantage is that, I can run latest and greatest software on
> machine_local and at the same time take advantage of facilities like huge
> hard drive space, frequent backups etc., on machine_root.
>
> Please note that running NFS server on machine_root is not an option, since
> it would involve bothering root_remote for granting access to
> machine_local.
>


sshfs or shfs as it is called now.

Works wonderfully and is completely userland controlled.

Works a charm over port 22.
--
greg, greg@gregfolkert.net

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGHV0W7WZpcbUkaHwRArBSAJoDKImRK/lzncvLL0j7X5ezxK2TbgCgjcKf
JfFtBj1EJPM/zn8tA6DCOBY=
=fX+d
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 11/04/2007, 23h50   #5
Steve Kemp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using remote files with local programs

On Wed, Apr 11, 2007 at 05:04:29PM -0400, Kamaraju S Kusumanchi wrote:

> This is just amazing! Works awesome! I wish I had known about it earlier. I
> think it definitely deserver one of those Debian package-of-the-day
> entries....


Not the same, but:

http://www.debian-administration.org/tag/sshfs

Steve
--
# The Debian Security Audit Project.
http://www.debian.org/security/audit


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15859 seconds with 13 queries