kdut.over-blog.com/
9 Janvier 2021
SSH is the most secure protocol for accessing remote servers. It provides the highest level of end to end data security over communication channels. The SCP (Secure Copy) command uses the SSH protocol for copying files between remote and local servers. Az doe or die dowload.
The remote server must have running SSH server. This tutorial will help you to understand download and upload file over SSH protocol.
Transmit is an excellent FTP (file transfer protocol), SFTP, S3 (Amazon.com file hosting) and iDisk/WebDAV client that allows you to upload, download, and delete files over the internet. With the most Mac-like interface available, Transmit makes FTP as simple, fun, and easy as it can possibly be.
This will connect to example.com server with user 'username' and copy the /backup/file.zip file to local system directory /local/dir. To use theis command replace the values as per your environment.
:max_bytes(150000):strip_icc()/FreeMacbookProtemplateonwhitetable-e582d4e10e0b40fc91716be6bd750f84.jpg)
If the SSH is running on non-standard port, You can specify the port using -P option with SCP command.
If your remote server required the private key to connect server, You can use -i followed by private key file path to connect your server using the SCP command. This can be helpful for AWS servers.
You can also upload files to the remote server using SSH protocol using SCP command. https://michaelneon445.weebly.com/appcode-2018.html. Use the following example command for uploading files to SSH server.
Similarity you can use -P switch to define port of the SSH server and -i to define private key for the user authentication.
