If you are using SSH, there is a big chance that you are using PuTTY. Sometimes, PuTTY users have difficulties to copy/paste shell commands. So, we will explain how to copy/paste text.
PuTTY Configuration Window
Secure Shell (SSH) is a network protocol that allows you to login and communicate with a remote computer system in a secured way. You can read more on the Wikipedia page.
Copy text to the clipboard 1. Click left mouse button in the terminal window 2. Keep the left mouse button down and drag the text you want to copy 3. Let go the left button. The text will be automatically copied to the clipboard.
If you are using PuTTY under Windows OS, do not try to use the CTRL-C command to copy text as it will not work. In most cases this command will interrupt a process.
Paste text from the clipboard 1. Here there is just one step: click the right mouse button. The text from the clipboard will be pasted into the PuTTY terminal window.
Useful PuTTY Shortcuts
Shift-Insert – will paste the clipboard content to the PuTTY terminal window
CTRL+Right mouse button and then select Paste option from the menu – will also paste the text from the clipboard
Left mouse button double-click/ double click and drag – a whole word or a sequence of whole words will be copied
Left mouse button triple-click/ triple-click and drag – PuTTY will copy a whole line or sequence of lines.
More information about the copy/paste options can be found on Section 3.1.1 Copying and pasting text of the Help File.
The cPanel hotlink protection will prevent other web sites from linking directly to your files (e.g. images). For example your images will not be displayed on other websites.
Steps to enable Hotlink Protection:
Log into your cPanel account
Go to Hotlink Protection under the Security section of cPanel
Enter into the field Block direct access for the following extensions (comma-separated): the file extensions you want to block. For example to block image files use something like: jpg,jpeg,gif,png,bmp,tiff
If you want to allow direct requests in the browser (access the files like https://example.com/image.png) select the checkbox Allow direct requests option.
Click the Submit button from the bottom of the page.
cPanel Hotlink Protection
The video tutorial – where we also test the hotlink protection:
It’s always a good idea to use the latest version of PHP. For some time 2-3 PHP versions will be supported, but in the end the old ones will be discontinued. So, whenever possible, use the latest version.
We will show below how to change the PHP version for your site from cPanel.
cPanel MultiPHP Manager Interface
The steps are:
Log into your cPanel account.
Go to MultiPHP Manager under the Software Section
Select the domain for which you want to change the PHP version.
From the right drop down list select the desired PHP version. If you choose the inherit option the site will use the default PHP version which is listed at the top of the page.
Click the Apply button. The site is using now the PHP version you selected.
Some hosts may block this cPanel feature for end users. If you don’t see this feature in cPanel contact your host.
Please check now the video tutorial. You will also see how to check your current PHP version.