Linux help needed

Not related at all to the game or group
User avatar
smartroad
Master
Master
Posts: 1376
Joined: Wed Apr 29, 2015 9:14 pm
CMDR: Lase Mooray (PC) smartroad78 (XBOX)
CMDR_Platform: PC-MAC
Contact:

Linux help needed

Postby smartroad » Sun Feb 28, 2016 10:19 pm

Hi guys,

I have setup an ownCloud server and was wondering about keeping it up to date with security patches etc. Would it be a good idea to add a daily cron job to apt-get update/upgrade? I plan to have it at my parents so I can use it as offsite backup, and I don't want to relly have the SSH exposed to the internet.

Any Linux guys have a thought on this?
Image
Image
Image
Group Policy - The Order of Mobius General Orders

User avatar
charlie2alpha
Expert
Expert
Posts: 353
Joined: Sat Nov 28, 2015 4:43 pm
CMDR: charlie2alpha
CMDR_Platform: None Specified
Contact:

Re: Linux help needed

Postby charlie2alpha » Mon Feb 29, 2016 6:26 am

You're not supposed to do upgrades in such an automated way, at least in the owncloud's case it requires running an update command from the command line to update it's internal databases. Can be done from the web interface too but it is not recommended, and at least once it broke the database for me.

You should keep the SSH exposed but, change it's listening port to a non standard port and use a key pair based authentication only, not interactive password authentication. I've been doing it like this for 15 years now, never had a security breach.
Image

User avatar
smartroad
Master
Master
Posts: 1376
Joined: Wed Apr 29, 2015 9:14 pm
CMDR: Lase Mooray (PC) smartroad78 (XBOX)
CMDR_Platform: PC-MAC
Contact:

Re: Linux help needed

Postby smartroad » Mon Feb 29, 2016 8:51 am

Cheers!

I have been using the Pi for ages, but this is the first time using it remotely! I'll look at how to setup the key based authorization.
Image
Image
Image
Group Policy - The Order of Mobius General Orders


Return to “Off-Topic”

Who is online

Users browsing this forum: No registered users and 6 guests

i