LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   to open the document(pdf) present in remote server from the local machine.... (https://www.linuxquestions.org/questions/linux-server-73/to-open-the-document-pdf-present-in-remote-server-from-the-local-machine-646618/)

satishgupta05 06-03-2008 05:20 AM

to open the document(pdf) present in remote server from the local machine....
 
Hot to open a document (lets suppose PDF document), present in the remote server (in the same network) from the working server in the Linux?

Example: If any document present in the remote server "Server1" and I am working on the other server "Server2", then how can I open a document(PDF document) present in the "Server1".

Please leave your valuable suggestion about this.

@
Satish Kumar Gupta
Hyderabad
09948661510
satishgupta05@gmail.com

daniel-kun 06-03-2008 05:42 AM

The easiest way that will work without additional setup (given that ssh is up and running, of course) is using scp.
You can copy files with scp like this:
scp remote-user@remote-host:/home/remote...emote-file.pdf /home/local-user/

Regards,
Daniel Albuschat

theYinYeti 06-03-2008 06:22 AM

sshfs (on fuse) would allow you to make the remote directory appear local to local applications.

Yves.

daniel-kun 06-04-2008 01:20 AM

Yes that's even easier, but I guess you need root access to mount it if there's no entry in fstab.

theYinYeti 06-09-2008 08:53 AM

Fuse can be setup to allow simple users to perform ssh mounts, but it is not trivial.

Yves.

mtimbro 06-09-2008 10:09 AM

Actually, you can install X on Server1, install xpdf on it and export X to Server2...

Just kidding, is this a one-time thing or recursive action ?

If one-time, scp will do the trick.

Otherwise, just start NFS on Server1 and mount the directory where the file resides on Server2. sshfs is justifiable if you need encryption.

Cheers,


All times are GMT -5. The time now is 09:26 PM.