If you receive the following error when trying to use SFTP: Received unexpected end-of-file from SFTP server This can be solved as follows: sudo nano /etc/ssh/sshd_config Comment out the following…
Received unexpected end-of-file from SFTP server – Solved
Unifi doesn't start Ubuntu 17.10
Installing the Unifi controller on Ubuntu can be quite a mission if Mongodb isn't installed. Install Mongodb with: sudo apt install mongodb There are number of issues around Plymouth which…
Create local folder symlink to Apache
Let's say you have a folder somewhere on your local machine and you want Apache to serve your website from this folder. First, remove the html directory with: sudo rm…
Create desktop shortcut Intellij Ubuntu
So you've lost your IntelliJ shortcut/icon after updating to the latest version. The wonderful folks at JetBrains allow you to generate a new shortcut by going to: Tools -> Create…
Telegram – find API token for existing bot
Open Telegram and search for: BotFather Issue the following command: /mybots You will see a list of existing bots. Select the bot for which you would like the token, and…
sign_and_send_pubkey: signing failed: agent refused operation – SOLVED
To solve this problem, you can run: ssh-add
Get Chat Id of Telegram user
The first step is to get the API token for you bot. See this guide on how to do this. Next, navigate the following URL, replacing YOUR_BOT_API_TOKEN with the token…
Delete files older than x many days Ubuntu Terminal
To delete files older than 'x' many days, you can execute the following command in the terminal: find /path/to/ -type f -mtime +7 -name '*.zip' -execdir rm — '{}' ;…
WooCommerce only show "completed" orders in reports
By default WooCommerce reports consider "on hold", "processing", and "completed" statuses as successful sales in the reports. I personally think only the "completed" status should be considered as a successful…
Locate spam scripts in Exim WHM
From time to time you might find that some scripts have been compromised for a particular user's website (WordPress, Joomla, etc). To identify the directory from where these scripts are…









