Here is an overview of commands you can use when handling file transfers in Linux
Due to the fact that is a beginners article, it will just be the most basic information.
I do plan to release future articles adding more details about these commands and how to actually use them.
Since I already made this article into a tweet, you can also check that out here.
ftp
'ftp' stands for 'file transfer protocol'. You can use this, but this is an insecure way of transferring files to and from a host because when you enter your username and password it will travel over the network in plain text
sftp
'sftp' stands for 'secure file transfer protocol'. This is the secure way of transferring. Using stfp will provide a higher level of transfer protection
scp
'scp' copies files to and from a host in a secure way.
This command is considered outdated by some people and companies. It works, but use at your own discretion!
rsync
'rsync' is used to synchronize files and directories between two machines over a remote shell.
annddd
ssh
'ssh' is used to securely log onto a remote host. You can 'ssh' into a remote system using SSH keys or password authentication.
This one technically is not a file transfer command but I believe it is important when it comes to it.
Wooo!!!
annddd that is all! I do plan to post more longer tutorials and informational articles in the future!
If you enjoyed this article, feel free to give me a follow! :)
Top comments (3)
Eh. Nitpicking:
Lastly, there's a bunch of new stuff that is useful: croc and magic wormhole might be worth mentioning.
Thumbs up Emoji
Can't wait for your content:)
FTP is not entirely unsecure. If you choose to authenticate with a certificate, it will not be so unsecure anymore.
SFTP uses the ssh protocol
Rsync use ssh to sync files between two different machines, local and remote