| <<O>> Difference Topic WincvsSSH (r1.1 - 25 Apr 2004 - FrankDiebolt) |
| Added: | |
| > > |
%META:TOPICINFO{author="FrankDiebolt" date="1082904900" format="1.0" version="1.1"}%
Here are some information to configure wincvs to access the cvs.superwaba.net server through the "ext" protocol requiring a configured SSH access.
First download the latest wincvs win32 setup.
Insofar putty is not really easy to setup, i recommend to use the win32 openssh port.
Follow the instructions in the WinCVS-SSH-Guide_pdf document.
To summarize this very nice documentation: set your HOME environment variableto define the place where the key generator will store the keys in a .ssh subfolder.set HOME="D:\Documents and Settings\Frank" create your SSH keyon your local machine by executingD:\Documents and Settings\Frank>ssh-keygen -b 1024 -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/Frank/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/Frank/.ssh/id_dsa. Your public key has been saved in /home/Frank/.ssh/id_dsa.pub. The key fingerprint is:(The document forgot the now mandatory type option.) The following files are generated:
login to your gforge accountand select the "account maintenance" tab and press the edit keys button in the screen bottom.cut/paste your public key(the WHOLE content of %HOME%/.ssh/id_dsa.pub without the linebreaks! IMPORTANT) in the editbox, then press update. My public key is:ssh-dss AAAAB3NzaC1kc3MAAACBALw9c1YskM6sfEiaL6MDxJxsty3SET+F6C6tXafzsB9uywzOm+/gngKQMsqeLxmRMB3jMz4x7tFsiKHefQePv/z edkq8ODmX4MeazeMXN4zpEb1Si+HFzN5WgpInG7eaLCVz4Yw+t0ThbSZUUSBV3h9pbEdwmVZrO/l0zTMvMLtxAAAAFQCqg3SatGawifTayS o0L5x+qH3d3QAAAIBpxLB6BhoDhepDOdf6Q6JTEjFl8p/lLkCdD4GehxURlhvMAsKRrwDGYv7876VWpl6gqrytPh32XWvPthbXNMIp5y51s vl3W/lEh83REjy/ZZ8Rtl0K6YRmGv5Z6mHlO1o1HfcbMRRYM4MtQG7Lclfw3DWHGHOcB1+98Wa/FXdsjAAAAIEAmgdiEhb1v9yaiQzqKz/s EgfyeSNDRuY3yvRgk?+0VfzbpxWZP2ZR91q4g3ETKmIhHtxEINi3dw/Kx1TYijv23OzTZAPzhQH2qtoFOPkhtT3X6rOrzER2jp9NypB/hvTx g3ucBm41Rm5M2MT1MBeLIIMi/RS8CUtyFFTFjRCAQqvs= Frank@provider.fr wait until next quarter(ssh keys synchronization is done every hour at 00, 15, 30 and 45 minutes)try your ssh connectionby typing "sshD:\Documents and Settings\Frank\.ssh>ssh frank@cvs.superwaba.net -v OpenSSH_3.7.1p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003 debug1: Connecting to cvs.superwaba.net [66.197.211.53] port 22. debug1: Connection established. debug1: identity file /home/Frank/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH_3.2*,OpenSSH_3.3*,OpenSSH_3.4*,OpenSSH_ 3.5* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.7.1p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'cvs.superwaba.net' is known and matches the RSA host key. debug1: Found key in /home/Frank/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interacti ve debug1: Next authentication method: publickey debug1: Offering public key: /home/Frank/.ssh/id_dsa debug1: Server accepts key: pkalg ssh-dss blen 434 debug1: read PEM private key done: type DSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. -bash-2.05b$Securely connected! without entering any password... However you have to secure your private key. Hint: If you are paranoiac, store your private key on your USB key you always keep with you ;-) Start wincvsand select "Admin/Preferences", then click the General tab and enter the CVSROOT information to access the CVS repository you want to work on. For instance, here are the information for the SuperWabaSDK cvs repositoryAuthentication: ssh Path: /cvsroot/superwaba Host: cvs.superwaba.net User: frankSelect the CVS tab and define the HOME folder, the folder you set at the beginning and that contains the ".ssh" folder containing your associated private key. For troubleshouting, you may enable the "show CVS console" checkbox. Checkout a CVS moduleby selecting "Remote/Checkout module". Press the three dots "..." to get the list of available modules. Good luck! -- FrankDiebolt - 25 Apr 2004 |
| Topic WincvsSSH . { View | Diffs | r1.1 | More } |
|
Revision - Revision r1.1 - 25 Apr 2004 - 14:55 GMT - FrankDiebolt |
Copyright© 2002-2004 Superwaba. The Palm OS and Windows CE logos are registered trademarks of their copyright owners. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding Superwaba ? Send feedback. |