1. 11 Oct, 2016 3 commits
  2. 10 Oct, 2016 3 commits
  3. 07 Oct, 2016 1 commit
  4. 05 Oct, 2016 2 commits
  5. 03 Oct, 2016 2 commits
  6. 01 Oct, 2016 3 commits
  7. 30 Sep, 2016 6 commits
  8. 29 Sep, 2016 9 commits
  9. 28 Sep, 2016 6 commits
  10. 27 Sep, 2016 5 commits
    • Nicolas Wavrant's avatar
    • Rafael Monnerat's avatar
      zc.buildout>2 and zc.recipe.egg>2 version up · a2b2ef7e
      Rafael Monnerat authored
        Version up only goes to buildout2 case, buildout 1 series keep the same.
      a2b2ef7e
    • Kirill Smelkov's avatar
      slaprunner/sshd: Add support for sftp · 5d05213c
      Kirill Smelkov authored
      For sftp to work we need to define sftp "subsystem" on server side in
      sshd speak. Sftp support in turn allows for sshfs to work.
      
      NOTE
      
      	Subsystem sftp internal-sftp
      
      won't work because we are doing games with ForceCommand and reexecution
      of "$SSH_ORIGINAL_COMMAND" (see previous patch for details).
      5d05213c
    • Kirill Smelkov's avatar
      slaprunner/sshd: Fix quoting in ForceCommand · cff0c969
      Kirill Smelkov authored
      2a733418 (slaprunner: replaces dropbear by openssh) switched slaprunner
      sshd from dropbear to openssh (thanks for it once again) and used
      ForceCommand to imitate login shell to be partitions `${bash:location}/bin/bash -l`.
      
      For case when original ssh command is explicitly provided
      ("$SSH_ORIGINAL_COMMAND" is not empty) the code there tries to just
      execute what was provided by caller.
      
      However the reexecution is not completely correct as for cases when
      origin command contains some quoting, 1 level of quotes is removed.
      
      The case when I hit this in practice is git access to repositories over
      ssh. When git wants to e.g. clone a repository it runs `git-upload-pack
      quoted-path-to-repo.git` and fails this way:
      
      ```
      $ GIT_TRACE=1 git clone ssh://host1/~/B.git
      19:28:23.558858 git.c:350               trace: built-in: git 'clone' 'ssh://host1/~/B.git'
      Cloning into 'B'...
      19:28:23.572994 run-command.c:336       trace: run_command: 'ssh' 'host1' 'git-upload-pack '\''~/B.git'\'''
      fatal: ''~/B.git'' does not appear to be a git repository
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      ```
      
      Quoting SSH_ORIGINAL_COMMAND and evaluating it completely via eval fixes this.
      
      /cc @Nicolas, @alain.takoudjou
      cff0c969
    • Kazuhiko Shiozaki's avatar