|
From: Mike L. <mi...@fa...> - 2002-10-30 04:44:04
|
Stuart, I now have full access (although I haven't configured WinCVS fully again yet). I am, however, able to log into cvs.sourceforge.net using my SSH key rather than supplying my password. I think you're going to need to start again at the key generation stage and generate an SSH2 key NOT SSH1 (actually as a precaution for the future I've put one of each in my public key area on sourceforge). After the required six hours run up pageant make sure it is contained in a folder 'C:\PUTTY' and load both of your keys into it then open a DOS box and type : C:\PUTTY\plink.exe -v smg...@sh... echo "SSH public key is in place. You should get something like: Looking up host "shell.sourceforge.net" Connecting to 216.136.171.203 port 22 Server version: SSH-1.99-OpenSSH_3.1p1 We believe remote version has SSH2 RSA padding bug We claim version: SSH-2.0-PuTTY-Snapshot-2002-10-18 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-dss 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Using username "leverm". Pageant is running. Requesting keys. Pageant has 1 SSH2 keys Trying Pageant key #0 Authenticating with public key "le...@us..." from agent Sending Pageant's response Access granted Opened channel for session Started a shell/command Server sent command exit status 0 SSH public key is in place. Notice that it is using SSH2 not SSH1 (don't you just love out of date instructions!) Now, if you type : plink.exe -v smg...@cv... echo "SSH public key is in place." You should get something like : Looking up host "cvs.sourceforge.net" Connecting to 216.136.171.202 port 22 Server version: SSH-1.99-OpenSSH_3.1p1 We believe remote version has SSH2 RSA padding bug We claim version: SSH-2.0-PuTTY-Snapshot-2002-10-18 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-dss 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Using username "leverm". Pageant is running. Requesting keys. Pageant has 1 SSH2 keys Trying Pageant key #0 Authenticating with public key "le...@us..." from agent Sending Pageant's response Access granted Opened channel for session Started a shell/command Server sent command exit status 1 Welcome to cvs.sourceforge.net This is a restricted Shell Account You cannot execute anything here. Again it's using my SSH2 key, not SSH1 This does mean that you have to configure WinCVS slighly differently than originally posted on the sourceforge website...there's a bit about SSH2 and WinCVS at the bottom of the page. I'll try that myself either later today or tomorrow, but at least progress has been made....finally! Mike L. > -----Original Message----- > From: csm...@li... > [mailto:csm...@li...]On Behalf Of Ross > Gardler > Sent: 29 October 2002 18:17 > To: csm...@li... > Subject: Re: [csms-dev] Fully functioning CVS > > > > > Mike L. wrote: > > Okay, what does this all mean? > > > > > > C:\PUTTY\plink.exe -v le...@sh... echo "SSH > public key is > > in place." > > > > Looking up host "shell.sourceforge.net" > > Connecting to 216.136.171.203 port 22 > > Server version: SSH-1.99-OpenSSH_3.1p1 > > We believe remote version has SSH2 RSA padding bug > > We claim version: SSH-2.0-PuTTY-Snapshot-2002-10-18 > > Using SSH protocol version 2 > > Doing Diffie-Hellman group exchange > > Doing Diffie-Hellman key exchange > > Host key fingerprint is: > > ssh-dss 1024 4c:68:03:d4:5c:58:a6:1d:9d:17:13:24:14:48:ba:99 > > Using username "leverm". > > Pageant is running. Requesting keys. > > Pageant has 0 SSH2 keys > > From the troubleshooting section of the document on SF: > > The above plink command says 'Pageant has 0 SSHx keys': This could mean > one of three things. First, check to make sure that you have properly > configured pageant. If you have configured pageant correctly, verify > that you have not created a profile in PuTTY for 'cvs.sourceforge.net' > -- profiles can modify the way that plink operates (delete any profiles > you may have made for cvs.sourceforge.net). Finally, check to ensure > that plink is referencing the correct key type. We suggested that you > create a SSH1 RSA key -- if you instead created a SSH2 key, you will > need to create a PuTTY profile to tell Plink to use the SSH2 protocol > (SSH1 and SSH2 protocols are not compatible; you need to pick one or the > other). > > > Keyboard-interactive authentication refused > > le...@sh...'s password: > > > > > > Mike L. > > > > > >>-----Original Message----- > >>From: csm...@li... > >>[mailto:csm...@li...]On Behalf Of Ross > >>Gardler > >>Sent: 29 October 2002 16:18 > >>To: csm...@li... > >>Subject: Re: [csms-dev] Fully functioning CVS > >> > >> > >>Mike L. wrote: > >> > >>>>Mike L. wrote: > >>> > >> >> > >> > >>>>When you say you are asked for your password,what is asking > you for it? > >>>>The CVS client? Do you have pageant running? > >>>> > >>>>If you provide the password does it give you access? > >>> > >>> > >>> > >>>I have got to this stage in the installation : > >>> > >>> > >> > >>http://sourceforge.net/docman/display_doc.php?docid=766&group_id > =1#sshtest > >> > >>>(Testing automated authentication). By this time Pageant is > >> > >>running and my > >> > >>>private key is loaded in Pageant. > >>> > >>>I am asked for my password at stage 2 of this part of the > >> > >>installation. This > >> > >>>is what happens when I go through all of the commands regardless : > >>> > >>>C:\PUTTY>plink.exe le...@sh... echo "SSH > >> > >>public key is in > >> > >>>place." > >>>le...@sh...'s password:******* > >>>SSH public key is in place. > >>> > >>>C:\PUTTY>plink.exe le...@cv... echo "SSH public > key is in > >>>place." > >>> > >>>le...@cv...'s password:******* > >>> > >>>Welcome to cvs.sourceforge.net > >>> > >>>This is a restricted Shell Account > >>>You cannot execute anything here. > >> > >>You are actually connecting to the server using SSH. The problem is that > >>pageant is not responding as it should. THe configuration is therefore a > >>problem with pageant (at least that is my guess, remember I do not use > >>windows so have not tested this). > >> > >>Since you are connecting by SSH the issue is *not* with your key. This > >>has been set up correctly. > >> > >>I suspect that if you try and connect using WinCVS using the ext > >>protocol instead of the pserver one you will be able to, but will be > >>asked for your password. > >> > >>Explore your configuration of pageant. > >> > >>NB this is further than I got trying to set Stuarts machine up with > >>Putty/Pageant and WinCVS. As usual doing on Linux was a breeze! > >> > >>Ross > >> > >> > >>> > >>>C:\PUTTY> > >>> > >>>As it says in the final line of the SSH tesing instructions, I > >> > >>should be ale > >> > >>>to do these things without supplying my password, but on both > >> > >>occasions I > >> > >>>had to in order to get any further. > >>> > >>>I was beginning to wonder if it's anything to do with running > >> > >>NAT behind a > >> > >>>router, but I've forwarded the SSH port (port 22) to my PC and > >> > >>it's still > >> > >>>not playing ball. Perhaps it should be a different port number? > >>> > >>>Mike L. > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This sf.net email is sponsored by:ThinkGeek > >>>Welcome to geek heaven. > >>>http://thinkgeek.com/sf > >>>_______________________________________________ > >>>CSMS-developer mailing list > >>>CSM...@li... > >>>https://lists.sourceforge.net/lists/listinfo/csms-developer > >> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>CSMS-developer mailing list > >>CSM...@li... > >>https://lists.sourceforge.net/lists/listinfo/csms-developer > >> > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > CSMS-developer mailing list > > CSM...@li... > > https://lists.sourceforge.net/lists/listinfo/csms-developer > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > CSMS-developer mailing list > CSM...@li... > https://lists.sourceforge.net/lists/listinfo/csms-developer > |