1. 25 Aug, 2010 1 commit
  2. 23 Aug, 2010 2 commits
    • 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
  3. 20 Aug, 2010 4 commits
  4. 21 Jul, 2010 1 commit
  5. 20 Jul, 2010 1 commit