William Stein wrote: > On Mon, Oct 6, 2008 at 3:19 AM, Dan Drake <[EMAIL PROTECTED]> wrote: >> As I mentioned in another thread, I'm working up to having a public Sage >> server at my university. Reading through the notebook() documentation, I >> see: >> >> server_pool -- (default: None), if given, should be a list like >> ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]'], where >> you have setup ssh keys so that typing >> ssh [EMAIL PROTECTED] >> logs in without requiring a password, e.g., by typing >> as the notebook server user >> cd; ssh-keygen -t rsa >> then put ~/.ssh/id_rsa.pub as the file .ssh/authorized_keys2. >> Note -- you have to get the permissions of files >> and directories just right -- do a web search >> for more details. >> >> I did a web search and found nothing but other people looking for details! >> >> I tried for a bit to figure out the permissions, but couldn't get things >> to work. Can someone explain how to set this up? I understand ssh keys >> and Unix file permissions and so on, but I don't know what the notebook >> server needs or wants with respect to them. > > If foo is a user in the server pool, you should be able to login > as the server user and type "ssh [EMAIL PROTECTED]" and have the > login work without having to explicitly type a password. > > Have you got the above to work and things still don't work? > If so, what doesn't work?
I'm doing this currently with my virtualbox image. For reference, here's a nice page applicable to debian/ubuntu. http://www.debian-administration.org/articles/152 Basically, two commands: $ # To generate a new keypair, which I think only needs to be done once $ ssh-keygen -t rsa $ # To copy this to a remote account $ ssh-copy-id -i ~/.ssh/id_rsa.pub [EMAIL PROTECTED] Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---