Check the SSH commands executed by users
If you are giving Shell access to your web hosting users you might want to check what commands they are using. In cPanel, there is a file in the user's home directory that keeps the SSH history. The file is…
If you are giving Shell access to your web hosting users you might want to check what commands they are using. In cPanel, there is a file in the user's home directory that keeps the SSH history. The file is…
SFTP, the abbreviation for SSH (or Secure) File Transfer Protocol is using by default port 22. Many servers nowadays are using different port numbers, like 2222. We will show in this article how to connect to an explicit port number, using the…
Do you want to control the login timeout for the SSH server? You can control it with the LoginGraceTime setting. LoginGraceTimeThe server disconnects after this time if the user has not successfully logged in. If the value is 0, there…
There are two messages you can set in the sshd configuration. One is MOTD (message of the day) and the other one is the Banner. Banner Message The Banner message is displayed before the password login prompt. To edit/set the…
It's always a good idea to make on-site/off-site backups of your cPanel accounts. WHM will automatically make backups as per settings from WHM->Backup->Backup Configuration. But you can also run the backup process from the command line. To start the backup,…
The common way to connect to the server via SSH is to use a username and a password. But to increase security, you can use a pair of keys(a private one and a public one) to connect to the server. The…