LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-23-2006, 04:42 AM   #1
windycity_linux
Member
 
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, 07:00 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.

http://www.linuxquestions.org/linux/...display_export
 
Old 12-23-2006, 07:23 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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.

sshfs

Last edited by jschiwal; 12-24-2006 at 10:12 PM.
 
Old 12-25-2006, 02:40 AM   #4
windycity_linux
Member
 
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.
 
  


Reply


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 04:22 AM
running ssh connection into batch file jdonaldogg General 1 12-17-2005 11:25 PM
opening a gui program through ssh snumpy Linux - Newbie 7 02-08-2005 12:20 AM
Remote connection (telnet & SSH) woes marioman Linux - General 2 09-29-2003 11:23 AM
Opening an X program from ssh command line petway56 Linux - General 2 02-14-2003 05:33 PM


All times are GMT -5. The time now is 10:12 AM.

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