{"id":2920,"date":"2006-07-16T11:15:52","date_gmt":"2006-07-16T10:15:52","guid":{"rendered":"http:\/\/jelmer.jteam.nl\/?p=7"},"modified":"2006-07-16T11:15:52","modified_gmt":"2006-07-16T10:15:52","slug":"making-putty-and-tortoise-cvs-remember-your-password","status":"publish","type":"post","link":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/","title":{"rendered":"Making Putty and Tortoise CVS remember your password."},"content":{"rendered":"<p>Every time I do a fresh install of my pc I spend at least 30 minutes figuring out how how to set this up because neither of these programs come with password caching and the workaround is neither obvious nor simple. So I decided to document the process on my blog<\/p>\n<p>1) Downloading the tools<\/p>\n<p>Navigate to http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html and download putty.exe, puttygen.exe and pageant.exe, and place them in some folder &#8220;c:\\program files\\putty&#8221; would do just nicely<\/p>\n<p>2) Generating the public \/ private key pair<\/p>\n<p>Fire up puttygen and press generate now generate some randomness by moving the mouse over the blank area. Press save private key, and store the private key to some location on your diskCopy the generated public key to the clipboard located in the text field at the top.<\/p>\n<p>3) installing the public key<\/p>\n<p>Log on to your shell account on the cvs server and create a directory called .ssh if it does not exist allready. In this folder create a file called authorized_keys open it with your favourite text editor (vi, pico, nano). Paste the key puttygen generated into the file. Finally change the permissions of this file to read\/write for the owner and no one else by issueing chmod 600 authorized_keys<\/p>\n<p>4) Setting up pageant<br \/>Pageant is an SSH authentication agent. It holds your private keys in memory. To have it start automatically at computer startup go to<\/p>\n<pre>C:Documents and Settings\\\\Start MenuPrograms\\\\Startup<\/pre>\n<p>Create a new shortcut to<\/p>\n<pre>\"C:Program Files\\\\putty\\\\pageant.exe\" \"path to key\"<\/pre>\n<p>5) Check if it works<\/p>\n<p>Double click the created shortcut, an icon should apear in the system tray. Now fire up putty.exe and connect to the remote host using the username you installed the key for. If all went well putty should log you in without asking you for a password.<br \/>I usually choose not to protect my private keys with passphrases mostly out of lazyness. However if you require additional security be sure to protect those.<br \/>As an aside did you know that you can specify an auto-login username in putty? You can set it at connection &gt; data &gt; Auto-login username.<\/p>\n<p>\u00a0<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every time I do a fresh install of my pc I spend at least 30 minutes figuring out how how to set this up because neither of these programs come with password caching and the workaround is neither obvious nor simple. So I decided to document the process on my blog 1) Downloading the tools [&hellip;]<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[10,124],"tags":[],"class_list":["post-2920","post","type-post","status-publish","format-standard","hentry","category-development","category-system-administration"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Making Putty and Tortoise CVS remember your password. - Trifork Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Making Putty and Tortoise CVS remember your password. - Trifork Blog\" \/>\n<meta property=\"og:description\" content=\"Every time I do a fresh install of my pc I spend at least 30 minutes figuring out how how to set this up because neither of these programs come with password caching and the workaround is neither obvious nor simple. So I decided to document the process on my blog 1) Downloading the tools [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Trifork Blog\" \/>\n<meta property=\"article:published_time\" content=\"2006-07-16T10:15:52+00:00\" \/>\n<meta name=\"author\" content=\"Jelmer Kuperus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jelmer Kuperus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/\",\"url\":\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/\",\"name\":\"Making Putty and Tortoise CVS remember your password. - Trifork Blog\",\"isPartOf\":{\"@id\":\"https:\/\/trifork.nl\/blog\/#website\"},\"datePublished\":\"2006-07-16T10:15:52+00:00\",\"author\":{\"@id\":\"https:\/\/trifork.nl\/blog\/#\/schema\/person\/c0ee9f25744015bf661fee1b797341f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/trifork.nl\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Making Putty and Tortoise CVS remember your password.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/trifork.nl\/blog\/#website\",\"url\":\"https:\/\/trifork.nl\/blog\/\",\"name\":\"Trifork Blog\",\"description\":\"Keep updated on the technical solutions Trifork is working on!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/trifork.nl\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/trifork.nl\/blog\/#\/schema\/person\/c0ee9f25744015bf661fee1b797341f2\",\"name\":\"Jelmer Kuperus\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/trifork.nl\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fff87cf8073c776ffcbe26326f713998?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fff87cf8073c776ffcbe26326f713998?s=96&d=mm&r=g\",\"caption\":\"Jelmer Kuperus\"},\"sameAs\":[\"http:\/\/www.dutchworks.nl\"],\"url\":\"https:\/\/trifork.nl\/blog\/author\/jelmer\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Making Putty and Tortoise CVS remember your password. - Trifork Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/","og_locale":"en_US","og_type":"article","og_title":"Making Putty and Tortoise CVS remember your password. - Trifork Blog","og_description":"Every time I do a fresh install of my pc I spend at least 30 minutes figuring out how how to set this up because neither of these programs come with password caching and the workaround is neither obvious nor simple. So I decided to document the process on my blog 1) Downloading the tools [&hellip;]","og_url":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/","og_site_name":"Trifork Blog","article_published_time":"2006-07-16T10:15:52+00:00","author":"Jelmer Kuperus","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jelmer Kuperus","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/","url":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/","name":"Making Putty and Tortoise CVS remember your password. - Trifork Blog","isPartOf":{"@id":"https:\/\/trifork.nl\/blog\/#website"},"datePublished":"2006-07-16T10:15:52+00:00","author":{"@id":"https:\/\/trifork.nl\/blog\/#\/schema\/person\/c0ee9f25744015bf661fee1b797341f2"},"breadcrumb":{"@id":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/trifork.nl\/blog\/making-putty-and-tortoise-cvs-remember-your-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/trifork.nl\/blog\/"},{"@type":"ListItem","position":2,"name":"Making Putty and Tortoise CVS remember your password."}]},{"@type":"WebSite","@id":"https:\/\/trifork.nl\/blog\/#website","url":"https:\/\/trifork.nl\/blog\/","name":"Trifork Blog","description":"Keep updated on the technical solutions Trifork is working on!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trifork.nl\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/trifork.nl\/blog\/#\/schema\/person\/c0ee9f25744015bf661fee1b797341f2","name":"Jelmer Kuperus","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/trifork.nl\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fff87cf8073c776ffcbe26326f713998?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fff87cf8073c776ffcbe26326f713998?s=96&d=mm&r=g","caption":"Jelmer Kuperus"},"sameAs":["http:\/\/www.dutchworks.nl"],"url":"https:\/\/trifork.nl\/blog\/author\/jelmer\/"}]}},"_links":{"self":[{"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/posts\/2920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/comments?post=2920"}],"version-history":[{"count":0,"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/posts\/2920\/revisions"}],"wp:attachment":[{"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/media?parent=2920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/categories?post=2920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trifork.nl\/blog\/wp-json\/wp\/v2\/tags?post=2920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}