Public folder and SSH security
Is it possible to share folder (e.g. the Public folder) on a network without SSH?
I've done this following a guide that involved installed openSSH and it works really well, but I am just worried about security vulnerabilities. I just want to share the one folder rather than be able to PuTTY into the computer etc.
If not is there a way I can secure the openSSH?
Re: Public folder and SSH security
Have you tried SFTP:
Code:
nautilus sftp://USER@HOSTNAME/home/USER/Public
Re: Public folder and SSH security
Another age old trick to secure a FTP server (any type), is to separate the upload and download directories. That way, only the admin can move files from the upload side of things to the download side of things, thus preventing mischief.
Re: Public folder and SSH security
If you happen to have Python installed and need quickly to share a folder:
Code:
python -m SimpleHTTPServer
http://www.linuxjournal.com/content/...-server-python
Re: Public folder and SSH security
Quote:
Originally Posted by
rizzeh
Very cool, thank you for posting this. I just started playing with SSH so I got to remotly login and then share some files I wanted off that computer.
Re: Public folder and SSH security
Quote:
Originally Posted by
rizzeh
Security Advice:
Do make a sub-directory and place any files that you wish to share in it and run the python code from that directory.
Re: Public folder and SSH security
Question? If your going to run python SimpleHTTPServer. Does running App-Armor help at all?
Re: Public folder and SSH security
thanks for all the replies
Re: Public folder and SSH security
Quote:
Originally Posted by
robtygart
Question? If your going to run python SimpleHTTPServer. Does running App-Armor help at all?
There is a package for it, however i would rather use python server as a quick and dirty solution to share files over local network and wouldn't permanently run it.
http://packages.ubuntu.com/precise/python-libapparmor