PDA

View Full Version : [all variants] Setting Up Sharing via SSH



Paul1914
March 4th, 2009, 05:24 AM
Hey Guys,

I'm new to the Ubuntu world, and have switched my home server from XP Pro to Ubuntu Server. I've been able to connect via ssh server and can execute commands on the server, but I've yet to figure out how to enable sharing of 2 of the 3 hard drives in the server. what commands would i need to run to add users and enable sharing? thanks

DGortze380
March 4th, 2009, 05:27 AM
Hey Guys,

I'm new to the Ubuntu world, and have switched my home server from XP Pro to Ubuntu Server. I've been able to connect via ssh server and can execute commands on the server, but I've yet to figure out how to enable sharing of 2 of the 3 hard drives in the server. what commands would i need to run to add users and enable sharing? thanks

you're going to want to look at Samba

crokett
March 4th, 2009, 05:44 AM
You can also tunnel Samba (or anything else really) through ssh. This gives you a secure file share that you could access over the internet if you wanted to.

Paul1914
March 4th, 2009, 05:46 AM
and how do i do this via ssh

DGortze380
March 4th, 2009, 05:01 PM
https://help.ubuntu.com/8.10/serverguide/C/samba-fileserver.html

Iowan
March 4th, 2009, 11:35 PM
Another option (https://help.ubuntu.com/community/SSHFS) (or two (https://help.ubuntu.com/community/SSHHowto)).