

{"id":30959,"date":"2025-03-25T09:39:51","date_gmt":"2025-03-25T13:39:51","guid":{"rendered":"https:\/\/www.uvm.edu\/it\/kb\/?post_type=ht_kb&#038;p=30959"},"modified":"2026-02-23T14:37:22","modified_gmt":"2026-02-23T19:37:22","slug":"ssh-keys","status":"publish","type":"ht_kb","link":"https:\/\/www.uvm.edu\/it\/kb\/article\/ssh-keys\/","title":{"rendered":"SSH Keys"},"content":{"rendered":"<p><a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-31087 alignleft\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon.png\" alt=\"\" width=\"119\" height=\"119\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon.png 461w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon-300x300.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon-150x150.png 150w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon-50x50.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon-60x60.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/SSH_Key_Icon-100x100.png 100w\" sizes=\"auto, (max-width: 119px) 100vw, 119px\" \/><\/a><span data-teams=\"true\">SSH keys are an alternative method of authentication, using pre-generated key files in place of a password. This method also currently removes the requirement for Duo multifactor authentication. This article outlines how to generate a key pair, where to save them, and which services will accept SSH key pairs as an authentication method.<\/span><\/p>\n<h2>Generate a key pair<\/h2>\n<p>Before authenticating with an SSH key pair, you must generate one. There are several methods you can use to accomplish this, and the process varies depending on the operating system of your device and the software you&#8217;re using to connect.<\/p>\n<h3>Windows<\/h3>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>ssh-keygen (Windows Terminal)<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<ol>\n<li>Open a <strong>Windows PowerShell<\/strong> window. One way to do this is expand the Start Menu (<strong><i class=\"fab fa-windows \" ><\/i><\/strong>), type &#8220;<strong>PowerShell<\/strong>&#8220;, and click the <strong>Best Match<\/strong> result that appears.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30978\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell.jpg\" alt=\"Windows Start Menu search for PowerShell\" width=\"320\" height=\"285\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell.jpg 320w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell-300x267.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell-50x45.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell-60x53.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows11_Search_PowerShell-100x89.jpg 100w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/li>\n<li>Type &#8220;<strong>ssh-keygen<\/strong>&#8221; and hit <strong>Enter<\/strong> on your keyboard.\n<pre>ssh-keygen<\/pre>\n<\/li>\n<li>Type in the path to a location and filename to save the private key, or just hit <strong>Enter<\/strong> to stick with the default (recommended).<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-30980 size-full\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1.jpg\" alt=\"Windows Powershell ssh-keygen file path selection\" width=\"826\" height=\"205\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1.jpg 826w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1-300x74.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1-768x191.jpg 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1-50x12.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1-60x15.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PowerShell_ssh-keygen_FilePath-1-100x25.jpg 100w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/a><\/li>\n<li>Choose a <strong>passphrase<\/strong> that you&#8217;ll have to enter each time you use this key pair and enter the same passphrase again to confirm, hitting <strong>Enter<\/strong> on your keyboard after each time. <em>Or, just hit Enter twice without typing anything<\/em> to bypass passphrase entry (recommended).\n<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\n    \t\t\t<span class=\"hts-messages__title\">Key Fingerprints<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tAfter generating the key pair, you&#8217;ll receive some text known as a <strong>key fingerprint<\/strong>. I would recommend ignoring that text as well as the <strong>randomart image <\/strong>that follows for now. <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/ssh-keys\/#i-received-a-warning-message-about-connecting-to-an-unknown-server-what-should-i-do\">See the end of this article for more information about fingerprints and verifying host keys<\/a>.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/li>\n<li>The new key pair can be found in your local <strong>.ssh<\/strong> folder or whichever location you chose in <em>Step 3<\/em> above. The .ssh folder is a hidden subfolder of your Windows User folder. <a href=\"https:\/\/helpx.adobe.com\/x-productkb\/global\/show-hidden-files-folders-extensions.html\">See these instructions for more info about hidden folders in Windows<\/a>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys.jpg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30982\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys.jpg\" alt=\"Windows File Explorer .ssh folder with key pair highlighted\" width=\"607\" height=\"251\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys.jpg 607w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys-300x124.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys-50x21.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys-60x25.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_FileExplorer_sshFolderAndKeys-100x41.jpg 100w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/a><\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>WinSCP<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>WinSCP does not come preinstalled, but can be installed for free by <a href=\"https:\/\/winscp.net\/eng\/downloads.php\">visiting their website<\/a>.<\/p>\n<ol>\n<li>Open the WinSCP app, click <strong>New Tab<\/strong>, enter the <strong>Host name<\/strong> of the remote server and your <strong>NetID<\/strong>, and then click <strong>Advanced<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30984\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png\" alt=\"WinSCP New Tab window with Advanced button highlighted\" width=\"928\" height=\"418\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png 928w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-300x135.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-768x346.png 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-50x23.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-60x27.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-100x45.png 100w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/a><\/li>\n<li>From the <strong>SSH<\/strong> &gt; <strong>Authentication<\/strong> tab, expand the <strong>Tools<\/strong> drop-down menu, and click <strong>Generate New Key Pair with PuTTYgen&#8230;<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton.jpg\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30985\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton.jpg\" alt=\"WinSCP Generate Key Pair button\" width=\"635\" height=\"455\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton.jpg 635w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton-300x215.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton-50x36.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton-60x43.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_GenerateKeyPairButton-100x72.jpg 100w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/a><\/li>\n<li>Click <strong>Generate<\/strong>. Then, to fill the green progress bar and advance to the next step, move your mouse around the blank area.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30987\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg\" alt=\"PuTTY Key Generator randomness generator\" width=\"596\" height=\"460\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg 596w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-300x232.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-50x39.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-60x46.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-100x77.jpg 100w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\n    \t\t\t<span class=\"hts-messages__title\">Key Fingerprints<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tAfter generating the key pair, you&#8217;ll receive some text known as a <strong>key fingerprint<\/strong>. I would recommend ignoring that text for now. <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/ssh-keys\/#i-received-a-warning-message-about-connecting-to-an-unknown-server-what-should-i-do\">See the end of this article for more information about fingerprints and verifying host keys<\/a>.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/li>\n<li>Click <strong>Save public key<\/strong>, choose a <strong>File name<\/strong>, and click <strong>Save<\/strong>. Do the same for <strong>private key<\/strong>. Names like &#8220;silk_key_pub&#8221; and &#8220;silk_key_priv&#8221;, accordingly, would work. In my testing, the default save location was my <strong>.ssh<\/strong> folder, which is the recommended location, but any location on your computer. Click <strong>Yes<\/strong> if warned about passphrase.<\/li>\n<li>Close the <strong>PuTTY Key Generator<\/strong> window.<\/li>\n<li>Expand the <strong>Tools<\/strong> drop-down menu once more and click <strong>Install Public Key into Server&#8230;<\/strong>.<\/li>\n<li>The window that appears filters the visible files by <strong>Private Key<\/strong>, which doesn&#8217;t make sense because we are looking for a <em>Public<\/em> key right now. Expand the drop-down menu in the bottom-right corner of the window and select <strong>All Files (*.*)<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30989\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" alt=\"Windows File Explorer filter by All Files drop-down menu\" width=\"239\" height=\"78\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg 239w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-50x16.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-60x20.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-100x33.jpg 100w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/a><\/li>\n<li>Select the public key you saved above (&#8220;<strong>silk_key_pub<\/strong>&#8221; in my example) and click <strong>Open<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton.jpg\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30990\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton.jpg\" alt=\"Windows File Explorer Open dialog window and button\" width=\"609\" height=\"237\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton.jpg 609w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton-300x117.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton-50x19.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton-60x23.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/OpenDialog_PublicKeyFile_OpenButton-100x39.jpg 100w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/a><\/li>\n<li>Enter your NetID password and hit Enter.<\/li>\n<li>You are now ready to connect to the specified server using your new key pair.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>PuTTYgen<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>PuTTY Key Generator (PuTTYgen) does not come pre-installed on Windows, but comes bundled with PuTTY, which can be installed from the <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/appsanywhere\/\">UVM Software Portal<\/a>.<\/p>\n<ol>\n<li>Open the PuTTY Key Generator.\u00a0One way to do this is expand the Start Menu (<strong><i class=\"fab fa-windows \" ><\/i><\/strong>), type &#8220;<strong>PuTTYgen<\/strong>&#8220;, and click the <strong>Best match<\/strong> result that appears.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen.jpg\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30992\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen.jpg\" alt=\"Windows Start Menu Search for PuTTYgen\" width=\"319\" height=\"310\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen.jpg 319w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen-300x292.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen-50x50.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen-60x58.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Windows_Search_PuTTYgen-100x97.jpg 100w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/a><\/li>\n<li>Click <strong>Generate<\/strong>. Then, to fill the green progress bar and advance to the next step, move your mouse around the blank area.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30987\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg\" alt=\"PuTTY Key Generator randomness generator\" width=\"596\" height=\"460\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton.jpg 596w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-300x232.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-50x39.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-60x46.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_KeyGen_GenerateButton-100x77.jpg 100w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\n    \t\t\t<span class=\"hts-messages__title\">Key Fingerprints<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tAfter generating the key pair, you&#8217;ll receive some text known as a <strong>key fingerprint<\/strong>. I would recommend ignoring that text for now. <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/ssh-keys\/#i-received-a-warning-message-about-connecting-to-an-unknown-server-what-should-i-do\">See the end of this article for more information about fingerprints and verifying host keys<\/a>.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/li>\n<li>Click <strong>Save public key<\/strong>, choose a <strong>File name<\/strong>, and click <strong>Save<\/strong>.\u00a0Names like &#8220;silk_key_pub&#8221; and &#8220;silk_key_priv&#8221;, accordingly, would work. In my testing, the default save location was my <strong>.ssh<\/strong> folder, which is the recommended location, but any location on your computer or OneDrive is fine. Click <strong>Yes<\/strong> if warned about passphrase.\u00a0Do the same for <strong>private key<\/strong>.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h3>macOS and Linux<\/h3>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>ssh-keygen (Terminal\/Shell)<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<ol>\n<li>Open the <strong>Terminal<\/strong> app. One way to do this is expand the Spotlight Search (<strong><i class=\"fas fa-search \" ><\/i><\/strong>) or Launcher, type &#8220;<strong>Terminal<\/strong>&#8220;, and then hit <strong>Return<\/strong> or <strong>Enter<\/strong> on your keyboard.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28875\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal.png\" alt=\"Linux search for Terminal\" width=\"387\" height=\"219\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal.png 387w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal-300x170.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal-50x28.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal-60x34.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2019\/07\/LinuxSearchForTerminal-100x57.png 100w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/li>\n<li>Type &#8220;<strong>ssh-keygen<\/strong>&#8221; and hit <strong>Return<\/strong> or <strong>Enter<\/strong> on your keyboard.\n<pre>ssh-keygen<\/pre>\n<\/li>\n<li>Type in the path to a location and filename to save the private key, or just hit <strong>Return<\/strong> or <strong>Enter<\/strong> to stick with the default (recommended).<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-30995 size-full\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output.png\" alt=\"macOS Terminal ssh-keygen command output\" width=\"992\" height=\"171\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output.png 992w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output-300x52.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output-768x132.png 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output-50x9.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output-60x10.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/Terminal_ssh-keygen_output-100x17.png 100w\" sizes=\"auto, (max-width: 992px) 100vw, 992px\" \/><\/a><\/li>\n<li>Optionally, choose a <strong>passphrase<\/strong> that you&#8217;ll have to enter each time you use this key pair and enter the same passphrase again to confirm, hitting <strong>Enter<\/strong> on your keyboard after each time. <em>Or, just hit Enter twice without typing anything<\/em> to bypass passphrase entry (recommended).\n<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\n    \t\t\t<span class=\"hts-messages__title\">Key Fingerprints<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tAfter generating the key pair, you&#8217;ll receive some text known as a <strong>key fingerprint<\/strong>. I would recommend ignoring that text for now. <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/ssh-keys\/#i-received-a-warning-message-about-connecting-to-an-unknown-server-what-should-i-do\">See the end of this article for more information about fingerprints and verifying host keys<\/a>.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/li>\n<li>The new key pair can be found in your local <strong>.ssh<\/strong> folder or whichever location you chose in <em>Step 3<\/em> above. The public key has the <strong>.pub<\/strong> file extension and the private key has no file extension. The .ssh folder is a hidden subfolder of your macOS User folder. <a href=\"https:\/\/www.graphpad.com\/support\/faq\/how-to-view-files-on-your-mac-that-are-normally-invisible\/\">See these instructions for more info about hidden folders in macOS<\/a>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30997\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder.png\" alt=\"macOS .ssh folder with key files highlighted\" width=\"946\" height=\"407\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder.png 946w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder-300x129.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder-768x330.png 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder-50x22.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder-60x26.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/macOS_sshFolder-100x43.png 100w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h2>Add key pair to remote server or service<\/h2>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>GitLab<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<ol>\n<li>Copy the contents of your public key file to the clipboard. One way to do this is to navigate to your .ssh folder, open the file you saved above ending in .pub in a text editor, select all the contents, right-click the highlighted text, and click <strong>Copy<\/strong>.<\/li>\n<li>Sign in to <a href=\"https:\/\/gitlab.uvm.edu\/\">UVM&#8217;s GitLab<\/a> with your NetID and password.<\/li>\n<li>Expand the sidebar, click your avatar, and select <strong>Edit profile<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown.jpg\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30999\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown.jpg\" alt=\"GitLab Avatar drop-down with Edit profile highlighted\" width=\"254\" height=\"302\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown.jpg 254w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown-252x300.jpg 252w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown-42x50.jpg 42w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown-50x60.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/GitLab_AvatarDropDown-84x100.jpg 84w\" sizes=\"auto, (max-width: 254px) 100vw, 254px\" \/><\/a><\/li>\n<li>Expand the sidebar again and click <strong><a href=\"https:\/\/gitlab.uvm.edu\/-\/user_settings\/ssh_keys\">SSH Keys<\/a><\/strong>.<\/li>\n<li>Click <strong>Add new key<\/strong>.<\/li>\n<li>Paste the contents of the public key file into the <strong>Key<\/strong> field.<\/li>\n<li>Choose a <strong>Title<\/strong> for this key that indicates which device this key is for, like the example shown, &#8220;MacBook key&#8221;.\n<div class=\"hts-messages hts-messages--info  hts-messages--withtitle  \"   >\n    \t\t\t<span class=\"hts-messages__title\">One key pair per computer<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tA key pair is designed to work from one computer; to connect from another computer, generate a new pair. Once generated and saved to your local machine, the public key can be added to any or all of the UVM services and servers mentioned here.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/li>\n<li>Optionally, remove or change the <strong>Expiration date<\/strong>.<\/li>\n<li>Click <strong>Add key<\/strong>.<\/li>\n<li>Once your public key has been safely saved remotely, it is a good idea to delete or move the local copy of the public key file. Your private key and public key should not be stored to the same location.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>Silk, Zoo, VACC, and more<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<ol>\n<li>Copy the contents of your public key file to the clipboard. One way to do this is to navigate to your .ssh folder, open the file you save above ending in .pub in a text editor, select all the contents, right-click the highlighted text, and click <strong>Copy<\/strong>.<\/li>\n<li>Connect to the server with your NetID and password. Here is a non-exhaustive list of servers this will work with:\n<ol>\n<li><a href=\"https:\/\/silk.uvm.edu\/manual\/logging-in\/\">Silk<\/a><\/li>\n<li><a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/accessing-network-folders\/#zoo\">Zoo<\/a><\/li>\n<li><a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/zebra-banner-login-with-duo-mfa\/\">Zebra<\/a><\/li>\n<li><a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/research-vms-remote-access\/#linux-vms\">Linux Research VMs<\/a><\/li>\n<li><a href=\"https:\/\/www.uvm.edu\/vacc\/docs\/start_guide\/ssh\/\">VACC<\/a><\/li>\n<\/ol>\n<\/li>\n<li>Navigate to your <strong>.ssh<\/strong> folder. If it doesn&#8217;t exist, create one. Folders with names beginning with periods are hidden by default. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hidden_file_and_hidden_directory\">Click here for more info about hidden files<\/a>.<\/li>\n<li>Open the <strong>authorized_keys<\/strong> file in a text editor. If it doesn&#8217;t exist, create one. The name should be exactly &#8220;authorized_keys&#8221; with no file extension at the end, and an underscore (&#8220;<strong>_<\/strong>&#8220;) in the middle.<\/li>\n<li>On a new line, <strong>paste<\/strong> the contents of the public key file, and <strong>save<\/strong> authorized_keys.<\/li>\n<li>Once your public key has been safely saved remotely, it is a good idea to delete or move the local copy of the public key file. Your private key and public key should not be stored to the same location.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h2>Connect<\/h2>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>SSH (Terminal commands)<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>Secure Shell (SSH) is a method of connecting to a remote Linux or Unix system via a command line interface like the Terminal app. While the origins of the terms are related, it should not be confused with &#8220;SSH <em>Keys<\/em>&#8221; (in this context).<\/p>\n<p>The SSH command also happens to be the easiest way to verify if your SSH keys are set up correctly. <a href=\"https:\/\/docs.gitlab.com\/user\/ssh\/#verify-that-you-can-connect\">More information about that can be found here<\/a>.<\/p>\n<ol>\n<li>Open a <strong>Terminal<\/strong> window.<\/li>\n<li>Enter <strong>SSH<\/strong> followed by a space, your <strong>NetID<\/strong>, an <strong>@<\/strong> symbol, and the <strong>hostname<\/strong> of the server you&#8217;re connecting to, like this:\n<pre> ssh netid@host.uvm.edu<\/pre>\n<p>Replace &#8220;netid&#8221; with your own NetID, and &#8220;host&#8221; with the name of the server, like &#8220;zoo&#8221; for Zoofiles or &#8220;w3&#8221; for Silk.<\/li>\n<li>Hit <strong>Enter<\/strong>. If your SSH keys are set up properly you&#8217;ll be connected to the remote server via the command line interface without the need to enter a password.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>Git<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>Git may not come pre-installed on your system, but can be installed for free using <a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Getting-Started-Installing-Git\">these instructions on git-scm.com<\/a>. To check if git is installed, you can run the &#8220;git &#8211;version&#8221; command from a Terminal window.<\/p>\n<p>To verify that your SSH key pair is set up correctly to connect to GitLab using Git, <a href=\"https:\/\/docs.gitlab.com\/user\/ssh\/#verify-that-you-can-connect\">see these &#8220;Verify that you can connect&#8221; instructions from gitlab.com<\/a>.<\/p>\n<p>For more help using Git to connect to GitLab, <a href=\"https:\/\/docs.gitlab.com\/topics\/git\/\">see these general instructions from gitlab.com<\/a>.<\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>Windows Terminal Profile<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>If you use text-based commands from a Windows computer to connect to the same server all the time, you can save yourself some typing and set up a profile ahead of time. To get started, <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/terminal\/tutorials\/ssh\">see the SSH in Windows Terminal tutorial on microsoft.com<\/a>.<\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>FileZilla<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>FileZilla is free software that can be installed by <a href=\"https:\/\/filezilla-project.org\/download.php?show_all=1\">visiting their website directly<\/a>. However, a link to FileZilla can be found on the <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/appsanywhere\/\">UVM Software Portal<\/a> as well.<\/p>\n<ol>\n<li>Open the <strong>Edit<\/strong> menu (on macOS, it&#8217;s the <strong>FileZilla<\/strong> menu instead) at the top of the main FileZilla menu and click <strong>Settings&#8230;<\/strong>.<\/li>\n<li>Expand the <strong>Connection<\/strong> &gt; <strong>SFTP<\/strong> tab and click <strong>Add key file&#8230;<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton.jpg\" rel=\"lightbox-15\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31009\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton.jpg\" alt=\"FileZilla SFTP Settings Add key file button\" width=\"638\" height=\"517\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton.jpg 638w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton-300x243.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton-50x41.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton-60x49.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_AddNewKeyButton-100x81.jpg 100w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><\/li>\n<li>Navigate to the folder containing your private key. It may not have the same name as the file in the example below, but it will be the one generated above with <em>no<\/em> file extension. Select the file and click <strong>Open<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1.jpg\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31011\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1.jpg\" alt=\"FileZilla Select Private Key window and Open button\" width=\"848\" height=\"300\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1.jpg 848w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1-300x106.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1-768x272.jpg 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1-50x18.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1-60x21.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileZilla_OpenPrivateKeyWindow-1-100x35.jpg 100w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/a><\/li>\n<li>Click <strong>OK<\/strong> to close the settings window.<\/li>\n<li>Enter the <strong>Host <\/strong>(w3.uvm.edu for example), <strong>Username <\/strong>(your NetID), and <strong>Port <\/strong>(Likely &#8220;22&#8221;), but leave the Password field blank, and click <strong>Quickconnect<\/strong>.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>WinSCP<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>WinSCP is free software that can be installed by <a href=\"https:\/\/winscp.net\/eng\/download.php\">visiting winscp.net<\/a>. WinSCP has much of the same functionality as FileZilla, and is only available for Windows, but it is an option especially for users who are already comfortable with its interface.<\/p>\n<p>One advantage of WinSCP is its built-in methods for generating a key pair and installing the public key on the server. If you followed those steps when you generated the key pair using the WinSCP method above, you can skip this section. However, it is still possible to add a key generated with a different method using these steps:<\/p>\n<ol>\n<li>Open the WinSCP app, click <strong>New Tab<\/strong>, enter the <strong>Host name<\/strong> of the remote server and your <strong>NetID<\/strong>, and then click <strong>Advanced<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30984\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png\" alt=\"WinSCP New Tab window with Advanced button highlighted\" width=\"928\" height=\"418\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow.png 928w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-300x135.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-768x346.png 768w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-50x23.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-60x27.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_NewTabWindow-100x45.png 100w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/a><\/li>\n<li>From the <strong>SSH<\/strong> &gt; <strong>Authentication<\/strong> tab, click the ellipsis (<strong><i class=\"fas fa-ellipsis-h \" ><\/i><\/strong>) button to the right of the <strong>Private key file<\/strong> field.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings.jpg\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31015\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings.jpg\" alt=\"WinSCP Authentication Parameters Settings\" width=\"547\" height=\"182\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings.jpg 547w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings-300x100.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings-50x17.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings-60x20.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_AuthenticationParametersSettings-100x33.jpg 100w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/a><\/li>\n<li>The window that appears filters the visible files by the <strong>.ppk<\/strong> file extension, which may not work depending on the method used to generate the key. If you&#8217;re in the correct folder, but the file is not shown, expand the drop-down menu in the bottom-right corner of the window and select <strong>All Files (*.*)<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30989\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" alt=\"Windows File Explorer filter by All Files drop-down menu\" width=\"239\" height=\"78\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg 239w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-50x16.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-60x20.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-100x33.jpg 100w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/a><\/li>\n<li>Navigate to the folder containing your private key. It may not have the same name as the file in the example below, but it will either have <em>no<\/em> file extension <em>or<\/em> the extension &#8220;<strong>.ppk<\/strong>&#8220;. Select the file and click <strong>Open<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow.jpg\" rel=\"lightbox-20\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31018\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow.jpg\" alt=\"WinSCP Select Private Key window and Open button\" width=\"766\" height=\"288\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow.jpg 766w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow-300x113.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow-50x19.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow-60x23.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_SelectPrivateKeyWindow-100x38.jpg 100w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/a><\/li>\n<li>If a <strong>Confirm<\/strong> window appears, click <strong>OK\u00a0<\/strong>and then <strong>Save <\/strong>and then <strong>OK<\/strong> again.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow.jpg\" rel=\"lightbox-21\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31020\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow.jpg\" alt=\"WinSCP Confirm Key Conversion window and OK button\" width=\"460\" height=\"178\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow.jpg 460w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow-300x116.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow-50x19.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow-60x23.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/WinSCP_ConfirmKeyConversionWindow-100x39.jpg 100w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><\/li>\n<li>Click <strong>OK<\/strong> to close the Settings window.<\/li>\n<li>Click <strong>Login<\/strong>. If you receive an unknown server warning, see the end of this article for more information about fingerprints and verifying host keys, or just click <strong>Accept<\/strong>. You can tell it worked if you successfully connect to the remote server without entering your NetID password.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>Fetch<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p><div class=\"hts-messages hts-messages--danger  hts-messages--withtitle hts-messages--withicon \"   >\n    \t\t\t<span class=\"hts-messages__title\">Doesn't work on newest version of app<\/span>    \t\t\t    \t\t\t\t<\/p>\n<p>\n    \t\t\t\t\tFetch provides <a href=\"https:\/\/fetchsoftworks.com\/fetch\/help\/Contents\/Tutorial\/UsingSSHAgent.html\">instructions to connect to a remote server using an SSH key pair<\/a>, but they do not appear to work on the latest version of the Fetch app. I&#8217;m hoping they will fix this soon. For now, I would recommend <a href=\"https:\/\/www.uvm.edu\/it\/kb\/?post_type=ht_kb&amp;p=30959&amp;preview=true#filezilla\">the FileZilla app<\/a> instead. Fetch can still be used to connect to UVM servers, but only using <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/duo-multi-factor-authentication\/\">Duo Multi-Factor Authentication<\/a>, and only using your default authentication method.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages -->\n    \t\t<\/p>\n<p>Fetch can be installed by visiting the\u00a0<a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/appsanywhere\/\">UVM Software Portal<\/a> but is available for macOS only.<\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>PuTTY<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>PuTTY is free software for Windows PCs only that can be installed by <a href=\"https:\/\/www.putty.org\/\">visiting putty.org<\/a>. A link to PuTTY can be found on the <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/appsanywhere\/\">UVM Software Portal<\/a> as well. PuTTY has much of the same functionality as the SSH Terminal Command method outlined above, but it is an option especially for users who are already more comfortable with its graphical Configuration interface.<\/p>\n<ol>\n<li>Open the PuTTY app. The <strong>PuTTY Configuration<\/strong> window will appear.<\/li>\n<li>If you haven&#8217;t previously saved a session, enter the <strong>Host Name<\/strong> of the server you&#8217;re connecting to (&#8220;w3.uvm.edu&#8221; for example) and the <strong>Port <\/strong>(likely &#8220;22&#8221;). Then, expand <strong>Connection<\/strong>, <strong>SSH<\/strong>, and <strong>Auth<\/strong>, and select <strong>Credentials<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1.jpg\" rel=\"lightbox-22\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31035\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1.jpg\" alt=\"PuTTY Configuration Credentials Category\" width=\"441\" height=\"351\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1.jpg 441w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1-300x239.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1-50x40.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1-60x48.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_CredentialsMenu-1-100x80.jpg 100w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/a><\/li>\n<li>Click <strong>Browse&#8230;<\/strong> to the right of the <strong>Private key file for authentication<\/strong> field.<\/li>\n<li>The window that appears filters the visible files by the <strong>.ppk<\/strong> file extension, which may not work depending on the method used to generate the key. If you&#8217;re in the correct folder, but the file is not shown, expand the drop-down menu in the bottom-right corner of the window and select <strong>All Files (*.*)<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30989\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg\" alt=\"Windows File Explorer filter by All Files drop-down menu\" width=\"239\" height=\"78\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles.jpg 239w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-50x16.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-60x20.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/FileExplorer_FilterByAllFiles-100x33.jpg 100w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/a><\/li>\n<li>Navigate to the folder containing your private key. It may not have the same name as the file in the example below, but it will either have <em>no<\/em> file extension <em>or<\/em> the extension &#8220;<strong>.ppk<\/strong>&#8220;. Select the file and click <strong>Open<\/strong>.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow.jpg\" rel=\"lightbox-24\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-31036 size-full\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow.jpg\" alt=\"PuTTY Select private key file window and Open button\" width=\"603\" height=\"292\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow.jpg 603w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow-300x145.jpg 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow-50x24.jpg 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow-60x29.jpg 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2025\/03\/PuTTY_SelectPrivateKeyFileWindow-100x48.jpg 100w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/a><\/li>\n<li>Click <strong>Open<\/strong>. If this is your first time connecting to this server from PuTTY, a <strong>PuTTY Security Alert<\/strong> window may appear. If it does, click <strong>Yes<\/strong>.<\/li>\n<li>If everything worked correctly, you&#8217;ll be connected to the remote host without typing in your NetID password.<\/li>\n<\/ol>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h2>FAQ<\/h2>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\"><h3>I received a warning message about connecting to an unknown server. What should I do?<\/h3><\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>When connecting to a remote server, you may receive a warning message along the lines of &#8220;Continue connecting to an unknown server and add its host key to a cache?&#8221; or &#8220;authenticity can&#8217;t be established&#8221;. If this is your first time connecting to this remote server from this computer using a new SSH key pair, you can safely ignore this warning by clicking <strong>Accept<\/strong> or <strong>OK<\/strong>.<\/p>\n<p>However, if the warning appears for a second time on the same computer while attempting to connect to the same server with the same key pair, it is worth verifying the hostname and key fingerprints.<\/p>\n<p>1. First, make sure you typed the hostname of the server correctly. The warning message will mention the server it&#8217;s trying to authenticate with. If the hostname shown is not the hostname of the server you were expecting, I would recommend clicking <strong>Cancel<\/strong> and attempting to connect again, making sure the <strong>host name<\/strong> is correct.<\/p>\n<p>2. Next, if the warning message appears again with the correct hostname, select and copy the contents of the warning message, paste them into the <strong>Description<\/strong> field of a <a href=\"https:\/\/www.uvm.edu\/it\/kb\/submit-a-ticket\/\">Help Request to the Tech Team<\/a>,\u00a0 <strong>Submit your ticket<\/strong>, <strong>Cancel<\/strong> the connection to the server, and wait for a reply from the Systems Architecture and Administration team.<\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>SSH keys are an alternative method of authentication, using pre-generated key files in place of a password. This method also currently removes the requirement for Duo multifactor authentication. This article outlines how to generate a key pair, where to save them, and which services will accept SSH key pairs as&#8230;<\/p>\n","protected":false},"author":156,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-30959","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/30959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/users\/156"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/comments?post=30959"}],"version-history":[{"count":31,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/30959\/revisions"}],"predecessor-version":[{"id":32655,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/30959\/revisions\/32655"}],"wp:attachment":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/media?parent=30959"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=30959"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=30959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}