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.
To running ssh on a non-standard port(standard port is 22), run this command:
PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers. Downloading and Installing PuTTy You can download PuTTY by clicking this site http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html There is no installation required… Continue reading How to Log Into an SSH Server Using PuTTY
How to disable or not allow root ssh login. It is always wise not to allow root login because common brute-force attack is using username root. Open this configuration file: Change the line as shown below: PermitRootLogin no
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
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