Configure SSH for high security

There are some steps to do after SSH is installed on a system and there is a old saying that says “A chain is only as strong as its weakest link” and if you are using a weak password for your root account (or any other account) then you are extremely vulnerable. It does not matter if the communication is secure when you are easily brute forced. All steps is…

Read More

mysqlbackup-ng i ny tappning

MySQLBackup-NG är ett trevligt litet skript som tar backup på MySQL-databaser, komprimerar filen och sedan skickar iväg den med scp till önskad plats. Jag har nästan skrivit om det totalt sedan version 1.1 som tidigare fanns på Google Code vilket betyder att 2.0 är 100% POSIX-kompatibelt och fungerar på både OpenBSD och under Linux som t.ex. Ubuntu Server 10.04. Ni hittar MySQLBackup-NG hos github: —  Johan Ryberg

Read More

free – Dagens terminalkommando

Fatal error: Uncaught Error: Call to a member function id() on array in /storage/content/60/155560/ Stack trace: #0 /storage/content/60/155560/ CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /storage/content/60/155560/ preg_replace_callback('#()#msi', 'CrayonFormatter...', 'johan@xps-lapto...') #3 /storage/content/60/155560/ CrayonFormatter::format_mixed_code('johan@xps-lapto...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /storage/content/60/155560/ in /storage/content/60/155560/ on line 36