Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old May 5th, 2007   #1
GuiGuy
Quad Shot of Ubuntu
 
GuiGuy's Avatar
 
Join Date: Aug 2006
Location: Crakatinny, nea
My beans are hidden!
"File Sharing" Linux > Linux PC

There are five PCs on my home network, three are Linux and two are Windows XPs.

I have no difficulties sharing WinXP <> Linux

However, I can't get my head around what I need to do to share files, printers etc between Linux <> Linux.

Is there are simple step by step guide somewhere?

Thanks
__________________
The GuiGuy
Free is only good when it works.
GuiGuy is offline   Reply With Quote
Old May 5th, 2007   #2
chriscando
Gee! These Aren't Roasted!
 
chriscando's Avatar
 
Join Date: Apr 2006
Location: California
Beans: 154
Ubuntu 7.10 Gutsy Gibbon
Re: "File Sharing" Linux > Linux PC

I think the easiest way is through ssh
you can install openssh by:
apt-get install openssh-server

Once thats installed you can use the command line to copy files back and forth by:
scp file-on-local-machine user@remoteip:/home/path...
or visa versa:
scp user@remoteip:/home/path file-on-local-machine

You can use a gui too if you dont like command line, konqueror is really good, you can connect to the remote machine by entering 'sftp://user@machine' in the address bar

Many options with ssh
chriscando is offline   Reply With Quote
Old May 5th, 2007   #3
jeffreyldavidson
5 Cups of Ubuntu
 
jeffreyldavidson's Avatar
 
Join Date: May 2006
Beans: 36
Re: "File Sharing" Linux > Linux PC

I have been wrestling with the same issue. I have to Fiesty laptops I want to share files with. It seems to be easier to connect with a Windoze box than another Linux box. That does not make sense.
jeffreyldavidson is offline   Reply With Quote
Old May 5th, 2007   #4
toorima
A Carafe of Ubuntu
 
Join Date: Oct 2005
Location: San Diego, CA
Beans: 149
Re: "File Sharing" Linux > Linux PC

samba if there are windows machines on the network, nfs if the network is linux only, but personally I just use ssh like chriscando said, ssh://username@machine works fine in nautilus as well, or you can install sshfs and then you can mount over ssh.
toorima is offline   Reply With Quote
Old May 6th, 2007   #5
GuiGuy
Quad Shot of Ubuntu
 
GuiGuy's Avatar
 
Join Date: Aug 2006
Location: Crakatinny, nea
My beans are hidden!
Re: "File Sharing" Linux > Linux PC

Quote:
Originally Posted by chriscando View Post
I think the easiest way is through ssh
you can install openssh by:
apt-get install openssh-server<SNIP>

Many options with ssh
Great- Easy as. Many thanks
__________________
The GuiGuy
Free is only good when it works.
GuiGuy is offline   Reply With Quote
Old May 6th, 2007   #6
GuiGuy
Quad Shot of Ubuntu
 
GuiGuy's Avatar
 
Join Date: Aug 2006
Location: Crakatinny, nea
My beans are hidden!
Re: "File Sharing" Linux > Linux PC

Quote:
Originally Posted by toorima View Post
samba if there are windows machines on the network, nfs if the network is linux only, but personally I just use ssh like chriscando said, ssh://username@machine works fine in nautilus as well, or you can install sshfs and then you can mount over ssh.
Thanks. ssh did the trick.

regards
__________________
The GuiGuy
Free is only good when it works.
GuiGuy is offline   Reply With Quote
Old May 8th, 2007   #7
shane2peru
Fresh Brewed Ubuntu
 
shane2peru's Avatar
 
Join Date: Oct 2005
Location: Peru, South America
Beans: 1,398
Ubuntu 9.10 Karmic Koala
Re: "File Sharing" Linux > Linux PC

What kind of security risk does this present if any? Does it leave your computer open, or are you required to enter passwords etc before actually writing to the other computer? Thanks.

Shane
__________________
www.rices2peru.com
shane2peru is offline   Reply With Quote
Old November 26th, 2007   #8
emp1953
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 5
Re: "File Sharing" Linux > Linux PC

Quote:
Originally Posted by chriscando View Post
I think the easiest way is through ssh
you can install openssh by:
apt-get install openssh-server

Once thats installed you can use the command line to copy files back and forth by:
scp file-on-local-machine user@remoteip:/home/path...
or visa versa:
scp user@remoteip:/home/path file-on-local-machine

You can use a gui too if you dont like command line, konqueror is really good, you can connect to the remote machine by entering 'sftp://user@machine' in the address bar

Many options with ssh

I have a unix box running red hat linux. It will be running a Java application that was developed on a windows machine.
That Java application "communicates" with a proprietary VB script application on a windows based pc.
The VB script application does not support sockets.
While the Java was running on the windows machine, The two computers shared a drive, the Java application watched for a new file to appear, written by the VB script app on the other pc. It used the exchange of files, on a shared drive, to accomplish data communications.

My only option for interplatform communications here is a shared directory. Can this be done?
If the solution is ssh, can the command line functions be written into a program so that all is handled automatically with no user intervention?

Thanks

emp1953
emp1953 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:01 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry