Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-23-2006, 03:42 AM   #1
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
Red face SSH connection & opening file

I am remotely logged on to the server (RHEL4) from another computer (RHEL 4 also) using ssh. Now how do i open a file in OpenOffice Calc without copying the file to the local machine? Lets say there is file called "report" in home1 directory in the file server, I want to open "report" in openoffice and edit and then save the file.

any help will be appreciated.
Old 12-23-2006, 06:00 AM   #2
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,593

Rep: Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662
I have done this with XMMS, I have never tried OO, but I see no reason why it should't work. Here is a link with the instructions, it is simple enough.
Old 12-23-2006, 06:23 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
You can log in with the -X option and run Open Office on the remote computer. It will run on the remote machine but be displayed on your local machine.

Another ssh option is to use fuse. Make sure that the fuse module is loaded into the kernel, and install the "fuse-sshfs" package if it isn't already. You may also need fuse-utils and libfuse2. Create a fuse group is there isn't one, and add yourself to it.

Then create a directory in your home directory where you will mount the remote directory:
mkdir ~/machine2
sshfs username@hostname:Documents/

Now your Documents directory is mounted under the ~/machine2 directory.
Unmount it when you are done with fusermount -u ~/machine2.

Once you have fuse and sshfs installed, mounting a remote directory is as simple as logging in using ssh!

Now you can run Open Office on your local maching and load and save from machine2 folder or any subdirectory in it. You can also simply double click on a oo document in your file browser to open it and save it when you are done.


Last edited by jschiwal; 12-24-2006 at 09:12 PM.
Old 12-25-2006, 01:40 AM   #4
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
thanks guys for teaching me another beauty of linux. really appreciate it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[putty&ssh] Who is really good & expert in ssh https tunnelling and firewalling ? Xeratul Linux - General 12 12-03-2006 03:22 AM
running ssh connection into batch file jdonaldogg General 1 12-17-2005 10:25 PM
opening a gui program through ssh snumpy Linux - Newbie 7 02-07-2005 11:20 PM
Remote connection (telnet & SSH) woes marioman Linux - General 2 09-29-2003 10:23 AM
Opening an X program from ssh command line petway56 Linux - General 2 02-14-2003 04:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration