![]() You can also upload files to the remote server using SSH protocol using the SCP command. scp -i private_key.pem :/backup/file.zip /local/dir If your remote server required a private key to connect server, You can use -i followed by a private key file path to connect your server using the SCP command.If the SSH is running on a non-standard port, You can specify the port using -P option with SCP command.To use theis command replace the values as per your environment. This will connect to server with user “ username” and copy the /backup/file.zip file to local system directory /local/dir.Here are some useful examples for downloading files from the remote system over SSH protocol. This tutorial will help you to understand download and upload files over SSH protocol. The remote server must have a running SSH server. ![]() The SCP (Secure Copy) command uses the SSH protocol for copying files between remote and local servers. It provides the highest level of end-to-end data security over communication channels. SSH is the most secure protocol for accessing remote servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |