

Wildcards can be used for both sending and receiving files. SCP can also be used with wildcard statements (*) to transfer multiple files that meet your criteria:Ĭopies all files ending in.php in the /home/bob/public_html directory to the local directory called Downloads. Scp index.php scp the local file index.php to the directory /home/bob/public_html/ on the server as the user bob.Ĭopies the file index.php from its location on the server to the local directory called Downloads as the server user bob. Because it uses the SSH protocol for authentication SCP is more secure than FTP which transmits passwords in plain text. The SCP command can be used to send a file to a server or retrieve a file from a server. To send or receive files simply drag them from one pane to another.

The majority of them use a two pane window view, with one pane being the local file system and the other pane showing the server’s file system. Many SFTP clients are almost exactly the same in appearance as FTP clients. SFTP differs from SCP in that it offers a GUI component that allows more remote administration, akin to a remotely accessed file system. SFTP is not FTP over SSH, but instead a new protocol developed from the ground up. SFTP can work with many protocols but is most commonly used with SSH to provide secure authentication.

One simple way to improve your Linux server’s security is to use SFTP or SCP instead of regular FTP.
