Linux – SCP to download, upload or copy files
With several Linux computers or servers it can be useful or practical to copy files from one computer to another from the terminal directly. We use a…
SSH – See login attempts
The SSH log file is located here (on Debian based systems): /var/log/auth.log And to view it, just type (need root or sudo): cat /var/log/auth.log This file most…
Debian/Ubuntu – Give user admin rights (Add to sudo)
For security reason, and others, it is a good idea to use another user than root. There is several ways of doing this. On a Debian system…
Linux – How to kick SSH users
This can be useful if a connection get stuck, or you see a suspicious IP of your users. If you run w or who you will see you…
Linux – Create and extract Tar files
Tar Probably the most used compression for Linux systems, and maybe the Linux equivalent of Zip. Tar stands for “Tape Archive”, and was made back in the…
Linux – Create and extract zip
Zip Probably the most used archiving format for pc users. To compress a folder in Linux: zip -r archive.zip /home/Jon/files_to_archive This example assume we are creating a…
Install KVM Virtual Machine Manager on Debian based systems
The Virtual Machine Manager is a small powerful tool when it comes to handling your kvm guests. To install the Virtual Machine Manager we do: apt-get install…
Debian – Add sftp access for users to your Apache website folder
If you try to transfer files to your website folders (as a user) with FileZilla or any other sftp software, you most likely get write: permission denied….
Mono Develop (Linux) – Install .net MySql Connector
Here is how to install a .net MySql connector for Mono Develop for Linux (Tested for Debian Variants). First we is going to download the connector, and…
Debian & Ubuntu – Recovering MySQL root password
Haven’t needed to reset my MySQL root passwords yet, but I suspect someday…. On a Debian based system this is easy and also demonstrate the importance of…