Skip to content
Snippets Groups Projects
  1. Oct 29, 2010
  2. Oct 21, 2010
  3. Sep 09, 2010
  4. Sep 03, 2010
  5. Aug 25, 2010
  6. Aug 23, 2010
    • Iustin Pop's avatar
      setup-ssh: fix updating of authorized_keys · 634a9a35
      Iustin Pop authored
      
      Due to what seems like a bug (or inconsistency) in paramiko, files
      opened with a+ over SFTP need a seek() in order for the user to be able
      to read data from them. We implement this, and rely on the fact that we
      do iterate over all lines before writing and that the file is opened in
      append mode (which at least on Linux should work correctly).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      634a9a35
    • Iustin Pop's avatar
      setup-ssh: Also use keys from the ssh-agent · 3dc66ebc
      Iustin Pop authored
      
      Currently, setup-ssh only uses one disk-based key. This means that any
      setup where we use keys from ssh-agent (which do not necessarily exist
      on disk) will break when moving from the old method to setup-ssh.
      
      This patch moves the SSH key handling to separate functions, and uses
      both the disk key (first) and the agent keys for login.
      
      The patch also fixes the root_logger setup level (I tried to hard to
      reduce noise and broke the debug level, sorry).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      3dc66ebc
  7. Aug 20, 2010
  8. Jul 21, 2010
  9. Jul 20, 2010
Loading