4 ms·
How would you automate a job where a server uploads something, say a backup, to another server, without a private key?
by mongol 6y ago
How would you automate a job where a server uploads something, say a backup, to another server, without a private key?
- ohazi 6y agoStandalone private key for a separate account that has write-only access to the backup area and little else? In this case the key would act more like an access token for a specific operation that you're trying to perform, rather than as a key to a generally usable account.
- mongol 6y agoYes that makes sense. I think grandparent could have been more precise. I assume he mean _personal_ private keys.
- numpad0 6y agoI think he's talking about $ ssh-keygen -t rsa $ mv .ssh/id_rsa.pub .ssh/authorized_keys $ cat .ssh/id_rsa $ exit logout
- mikewarot 6y agoIn theory, I know Genode and other capability based systems could be answer this question... but not in practice. I'm off on that tangent seeking answers. Thanks for the "hacking prompt"
- px43 6y agoUse HTTP, there's absolutely no reason to be using SSH if you're just transferring files around.