{"id":46,"date":"2003-03-13T02:02:05","date_gmt":"2003-03-13T02:02:05","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=14"},"modified":"2008-07-24T23:46:06","modified_gmt":"2008-07-25T04:46:06","slug":"pulling-teeth-for-fortune-and-glory","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2003\/pulling-teeth-for-fortune-and-glory\/","title":{"rendered":"Putty and SSH and CVS, oh my&#8230;"},"content":{"rendered":"<p>I access my Linux box CVS repository from my Windows box using Tortoise CVS.  It prompts you for a password all day long, which is a PITA.  Tortoise CVS docs <A HREF=\"http:\/\/www.tortoisecvs.org\/faq.html#sshkeys\">explain<\/A> the possible ways to fix this.  The most official way is to set up SSH to use a private key with no passphrase &#8211; as long as it finds the file, you will get authenticated.  Here&#8217;s what I did:<\/p>\n<li>Get <A HREF=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\">Putty<\/A> (including putty.exe, pagent.exe, puttygen.exe, and pscp.exe).  Putty r0xx0r5.\n<li>Put the putty files in your Windows path somewhere.\n<li>Run puttygen.exe to generate a key.  Use a blank passphrase.  Don&#8217;t close the keygen screen yet.\n<li>Save the private key to a floppy disk, using the Save button.\n<li>Connect to your linux box and edit \/home\/#you#\/.ssh\/authorized_keys (creating it if needed).\n<li>Copy the public key from the keygen public key edit box to a single line in the authorized_keys file.  Save it.  chmod 744 on it.\n<li>Back in Windows, set up pagent.exe to run on startup, with the following command line: pagent.exe a:myprivatekey\n<li>Open TortoiseCVS&#8217;s SSH settings (right-click a file and select CVS->Preferences->SSH).\n<li>Change the SSH client from TortoisePlink.exe to Plink.exe (the version that came with putty.exe).\n<li>Make sure PAgent.exe is running (it lives in the task bar) and has your key loaded up, then try a TortoiseCVS operation.\n<p>DANG, it works!  Cool&#8230; now take care of that private key file!  :><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I access my Linux box CVS repository from my Windows box using Tortoise CVS. It prompts you for a password all day long, which is a PITA. Tortoise CVS docs explain the possible ways to fix this. The most official way is to set up SSH to use a private key with no passphrase &#8211; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[10],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-K","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":1,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/46\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}