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.
scp -i ~/.ssh/id_rsa $localpath $email@example.com:$webpath
The webserver is on an AFS, so dropping the public key into ~/.ssh/authenticated_keys doesn't cut it, as you need a token to access that. One workaround, as described in ,"is to place private keys into ~/.ssh-private and place public keys into ~/.ssh/authorized_keys. The access to ~/.ssh-private is closed off to everyone but the user, while the access to ~/.ssh is opened up to unauthenticated users."
I'd love to do this, but I'm not the network admin. I can ssh 'manually' by supplying the password. Is there a way for me to figure out how it's been arranged? How is it usually done?
I found a Kerberos/AFS patch for ssh, but don't want to dive into it until I get some feedback. (I'd likely just break my OSX ssh command!)
 cs.unc.edu/cgi-bin/howto?howto=ssh-keys (Sorry about the link -- I'm only allowed to make one active.)