ssh + Aptana + subclipse

  1. install subversion on your server
  2. debian: apt-get install subversion subversion-tools

  3. create subversion repository
  4. svnadmin create /var/svn/repos

  5. add svn user and group
  6. adduser --home /path/to/repository --shell /bin/false --no-create-home --disabled-password --disabled-login svn

  7. change file rights and owner of the repository
  8. chown svn:svn /var/svn/repos
    chmod g+w /var/svn/repos

  9. add system (ssh) user to svn group
  10. install Putty suite (with PuttyGen and Plink)
  11. create key with PuttyGen
  12. install subclipse in Aptana/Eclipse
  13. setup Putty-Plink with key authentication for subversion config of Aptana/subclipse
    [tunnels] section
  14. ssh = "/path/to/your/plink.exe" -2 -P <other_than_port_22> -i "/path/to/your/private/key/file"

  15. use this url for the repository configuration in subclipse
  16. svn+ssh://user@host/path/to/repository

  17. to access it under the unix console and also with MacOS X
    add to the [tunnels] section of ~/.subversion/config
  18. ssh+<your_ssh_port> = $SVN_SSH_<your_ssh_port> ssh -p <your_ssh_port>

  19. use this command to access the repository
  20. svn checkout svn+ssh+<your_ssh_port>://user@host/path/to/repository[/path/to/project]
    or local on the server
    svn checkout file:///path/to/repository[/path/to/project]

Schreib einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *