PDA

View Full Version : SSH and Samba File Sharing


DustinW
February 10th, 2007, 10:59 PM
I installed Ubuntu 6.10 and SSH today. My goal is to setup a file/print server that I can access from any computer. I would like to be able to upload files from work or share documents with people. Will Samba work in this application? I've thought about using FreeNX for a VNC setup but I don't think that would be necessary or an efficient use of resources.

I'm also wondering what the interface for downloading or uploading files to the server would be like if Samba is used. I'm open for suggestions and advice regarding which server type I should use.

Thanks in advance!
Dustin

linuchsan
February 10th, 2007, 11:12 PM
You can use openvpn (for linux, windows and mac), or if you only want to share files over ssh, try winscp if you are using windows

chrisfay
February 11th, 2007, 04:18 AM
Samba is for internal networking with Win machines; it sounds like you're trying to share files both in and 'out' of your LAN and in that case you would need some type of externally accessable protocol. You could certainly use SMB for inside your network, then configure a web server or public ftp/scp/sftp bank for stroring files you want to share externally.

I would think creating an entire VPN solution just to share some files might be a bit overkill. But if you need constant access to your network remotely, it may be something to look into. I had good success with OpenVPN as previously mentioned.

nix4me
February 11th, 2007, 10:33 AM
Why not a simple ftp server? You could enable ssl/tls on it also.

nix4me

DustinW
February 12th, 2007, 09:13 PM
Never even thought of doing a FTP server! I'll have to look into that and the openvpn suggestion. Thanks !