Most of the blogposts on internet are on the topic how to login with SSH-pubkey authentication. I didn’t find any topics on how you can use archive-sites (aka: how to automatically copy your configuration off-site) in combination with SCP.
The answer is very simple:
- Login as root@srx
- Create a new Public/Private SSH-keypair (ssh-keygen -t rsa)
- Copy the public part to the account where you want to SCP to.