News for hackers. Stuff that matters.
Re:Linux Hardening Guide by mongol on Thursday December 31, 2020 @03:23AM (#25590708)
How would you automate a job where a server uploads something, say a backup, to another server, without a private key?
Re:Linux Hardening Guide by ohazi on Thursday December 31, 2020 @03:40AM (#25590805)
Standalone 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.

Re:Linux Hardening Guide by mongol on Thursday December 31, 2020 @05:31AM (#25591435)
Yes that makes sense. I think grandparent could have been more precise. I assume he mean _personal_ private keys.
Re:Linux Hardening Guide by numpad0 on Thursday December 31, 2020 @04:51AM (#25591216)
I think he's talking about

    $ ssh-keygen -t rsa
    $ mv .ssh/id_rsa.pub .ssh/authorized_keys
    $ cat .ssh/id_rsa
    $ exit
    logout
Re:Linux Hardening Guide by mikewarot on Thursday December 31, 2020 @07:37AM (#25592082)
In 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"
Re:Linux Hardening Guide by px43 on Thursday December 31, 2020 @03:07PM (#25596581)
Use HTTP, there's absolutely no reason to be using SSH if you're just transferring files around.