CentOS

How to Copy Files Using SSH

1. You can copy file using ssh by run scp command like this: 2. You need to enter the password and file will start copying.

Advertisements
CentOS, Security

How to Allow Only Specific Users to Login Using SSH

How to allow only specific users to login using SSH To make your server secured when using SSH services, not every users need to be able to gain ssh service on your server. You can specify which user can connect to the server by changing the configuration file in server. In your terminal, find this… Continue reading How to Allow Only Specific Users to Login Using SSH

CentOS, Security

How to Change the Default ssh Port Number in Linux

By default, ssh listen to port 22 for connections. Attackers will use a port scanner software (such as nmap) to scans for an open port. Normally these port scanners do not scan higher ports. To change the default port, you will need to open the configuration file using your favorite text editor (vi,nano) located in… Continue reading How to Change the Default ssh Port Number in Linux