Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
You can configure it for either account based auth or ssh. SSH is recommended. SFTP is the underlying mechanism scp uses.
Rsync is better than all of the above, but must be installed.
So wondering how all this trust works/gets established.
It sorta sounds like HTTPS without a CA?
Not really familiar with how public/private keys work. I know for like Git needs then too in order for you to commit to a remote repo... But it's the committer that generates and gives the remote his key.
SSH has an agent on the machine that is used to negotiate the connection. You establish a remote session and issue commands. Either host can initiate a connection with a valid SSH identity
This explains the keyshare and message handshake
The "first time connections" provides the signature exchange and asks you to verify trusting the host. Hence, no authority. You can actually use SSH with a CA, it's just not usually helpful as Linux doesn't have a domain paradigm, it doesn't really support the lifetime use cases of modern server instances.
Tools like SELinux are used instead
SCP, or secure copy, it's the same as ssh for most part save that it doesn't allow for remote command execution. It's mostly used for copying files.
SFTP is ssh file transfer protocol. SCP sits on top of it.
Rsync is a tool that can be used to do copies and synchronization locally or to a remote machine. It's significantly faster than SCP. It can also resume file shares.
ScribeOfGoD7414312drsync ftw alone with rclone lol
stop6234312d@SortOfTested scp != sftp
scp has problems with anything that is printed on the shell through the .bashrc, .zshrc, ... it also cannot list the directories. sftp is ftp tunneled through ssh ,there is no second port needed because ssh can use multiplexing. if it is possible sftp should be used and scp only when its something that absolutly requires it.