We have a data processing workstation that's shared by a number of users. I would like to set up a script on that machine to process my data and then copy it it back to my personal machine afterwards.
I recently learned about ssh public key authentication, so my first thought was to just add the public key of that machine to my
authorized_keys file and add an
scp command to my script. However, this makes it that anyone on that machine can just ssh into my machine, if they know my machine's ip address. What's the proper way to securely set this sort of thing?