Filesharing between Ubuntu (Dapper Drake) & Mac OSX

greendayzero

Registered
I have been successful in sharing files between the two systems. In order to accomplish this feet, I created a "Windows Share" on both computers. All I had to do was create a "network place" and connect the ip, and put in a username. I have to enter a password everytime though. Is there a better way to do this?

Thanks in advance.

-=greendayzero=-
 
On your linux box, you would have to edit your /etc/fstab and add this line to it:

Code:
//YourIPAddress/Share /mnt/directory cifs credentials=/etc/credfile rw 0 0

Then make a text file in your /etc called credfile with the follow in it

Code:
username=user
password=password

and then it should connect automatically and mount in in your /mnt directory.


As for mac, you can save the username and password in your keychain. A lot easier-eh?
 
You could also run SSH on both computers (OpenSSH's sshd on Linux, and enable Remote Login in Mac OS X which is also OpenSSH). Then you should be able to access either by typing "ssh://x.x.x.x" and then login. This is how I have done it from Ubuntu to the Mac and vice-versa.
 
Back
Top