Home » Questions » Computers [ Ask a new question ]

ssh authentication to an AFS using public/private key pairs

ssh authentication to an AFS using public/private key pairs

I'm writing a lil' bash script to update files on a webserver from any authorized computer. In the end, I want to use the scp command to do the work.

Asked by: Guest | Views: 326
Total answers/comments: 1
Guest [Entry]

"Why would you need to be root to place files in ~ (e.g. via scp)?

For the confused there is always ssh-copy-id. To install your public key from your local machine you would

# ssh-copy-id $user@gpu.srv.ualberta.ca

This will automagically guess your which key to install. For everything else have a look at the manpage."