{"id":"cloud-accounts.switch-sftp-from-password-to-key","url":"/faq/cloud-accounts/switch-sftp-from-password-to-key","category":{"id":"cloud-accounts","title":"Cloud accounts"},"subcategory":{"id":"ftp-sftp","title":"FTP and SFTP servers"},"question":"Can I switch an SFTP account from a password to a private key?","alt_questions":["Change SFTP sign-in method","Move SFTP account to SSH key","Edit SFTP authentication","Replace SFTP password with key"],"short_answer":"Yes. Click Edit, switch Sign in with to Private key, choose the key file (and passphrase if needed), save and test. Install the public key on the server first. The nickname and transfers stay the same.","answer_markdown":"Yes. Select the account, click **Edit**, change **Sign in with** to **Private key**, choose the key file with **Browse…** (and enter its passphrase if it has one), then save and click **Test connection**.\n\nAdd the matching public key to the server first, or the test will fail. The account keeps its nickname, so transfers that use it carry on unchanged.","answer_html":"<p>Yes. Select the account, click <strong>Edit</strong>, change <strong>Sign in with</strong> to <strong>Private key</strong>, choose the key file with <strong>Browse…</strong> (and enter its passphrase if it has one), then save and click <strong>Test connection</strong>.</p>\n<p>Add the matching public key to the server first, or the test will fail. The account keeps its nickname, so transfers that use it carry on unchanged.</p>","answer_text":"Yes. Select the account, click Edit, change Sign in with to Private key, choose the key file with Browse… (and enter its passphrase if it has one), then save and click Test connection.\n\nAdd the matching public key to the server first, or the test will fail. The account keeps its nickname, so transfers that use it carry on unchanged.","tags":["sftp","ssh key","edit account"],"related":[{"id":"cloud-accounts.sftp-password-or-private-key","question":"Should I sign in to SFTP with a password or a private key?","url":"/faq/cloud-accounts/sftp-password-or-private-key"},{"id":"cloud-accounts.how-do-i-edit-a-cloud-account","question":"How do I change the details of a cloud account I already added?","url":"/faq/cloud-accounts/how-do-i-edit-a-cloud-account"}],"applies_to":"all","last_reviewed":"2026-10-01","title":"Can I switch an SFTP account from a password to a private key? — Storage Studio FAQ","description":"Yes. Click Edit, switch Sign in with to Private key, choose the key file (and passphrase if needed), save and test. Install the public key on the server first. The nickname and transfers stay the same.","crumbs":[{"name":"Home","path":"/"},{"name":"FAQ","path":"/faq/"},{"name":"Cloud accounts","path":"/faq/cloud-accounts/"},{"name":"Can I switch an SFTP account from a password to a private key?","path":"/faq/cloud-accounts/switch-sftp-from-password-to-key"}],"jsonld":{"@context":"https://schema.org","@type":"FAQPage","url":"https://storagestudio.us/faq/cloud-accounts/switch-sftp-from-password-to-key","inLanguage":"en","dateModified":"2026-10-01","mainEntity":[{"@type":"Question","name":"Can I switch an SFTP account from a password to a private key?","alternateName":["Change SFTP sign-in method","Move SFTP account to SSH key","Edit SFTP authentication","Replace SFTP password with key"],"acceptedAnswer":{"@type":"Answer","text":"Yes. Select the account, click Edit, change Sign in with to Private key, choose the key file with Browse… (and enter its passphrase if it has one), then save and click Test connection.\n\nAdd the matching public key to the server first, or the test will fail. The account keeps its nickname, so transfers that use it carry on unchanged.","url":"https://storagestudio.us/faq/cloud-accounts/switch-sftp-from-password-to-key"}}]},"fragment":"<div class=\"wrap fl-wrap\"><div class=\"fl-layout\"><aside class=\"fl-side\" aria-label=\"FAQ topics\"><details open><summary>All topics</summary><ul class=\"fl-tree\"><li><a href=\"/faq/getting-started/\">Getting started</a> <span>70</span></li><li><a href=\"/faq/freeing-space/\">Freeing up space</a> <span>182</span></li><li><a href=\"/faq/moving-folders/\">Moving folders</a> <span>144</span></li><li><a href=\"/faq/apps/\">Apps</a> <span>146</span></li><li><a href=\"/faq/external-drives/\">External drives</a> <span>169</span></li><li><a href=\"/faq/finder-location/\">Finding things in Finder</a> <span>70</span></li><li class=\"fl-open\"><a href=\"/faq/cloud-accounts/\" aria-current=\"true\">Cloud accounts</a> <span>158</span><ul><li><a href=\"/faq/cloud-accounts/#adding-accounts\">Adding an account</a> <span>21</span></li><li><a href=\"/faq/cloud-accounts/#managing-accounts\">Testing, editing and removing accounts</a> <span>15</span></li><li><a href=\"/faq/cloud-accounts/#google-drive\">Google Drive</a> <span>14</span></li><li><a href=\"/faq/cloud-accounts/#google-photos\">Google Photos</a> <span>6</span></li><li><a href=\"/faq/cloud-accounts/#dropbox\">Dropbox</a> <span>6</span></li><li><a href=\"/faq/cloud-accounts/#onedrive\">OneDrive</a> <span>2</span></li><li><a href=\"/faq/cloud-accounts/#box\">Box</a> <span>1</span></li><li><a href=\"/faq/cloud-accounts/#amazon-s3\">Amazon S3</a> <span>12</span></li><li><a href=\"/faq/cloud-accounts/#s3-compatible\">Other bucket storage (S3-compatible)</a> <span>14</span></li><li class=\"fl-on\"><a href=\"/faq/cloud-accounts/#ftp-sftp\">FTP and SFTP servers</a> <span>15</span></li><li><a href=\"/faq/cloud-accounts/#local-folder\">Local folder accounts</a> <span>3</span></li><li><a href=\"/faq/cloud-accounts/#custom-credentials\">Custom Google sign-in credentials</a> <span>5</span></li><li><a href=\"/faq/cloud-accounts/#credentials-security\">Passwords, keys and privacy</a> <span>13</span></li><li><a href=\"/faq/cloud-accounts/#using-accounts\">Using your accounts</a> <span>16</span></li><li><a href=\"/faq/cloud-accounts/#cloud-apps-on-your-mac\">Cloud apps on your Mac</a> <span>8</span></li><li><a href=\"/faq/cloud-accounts/#cloud-files-and-mac-space\">Cloud files and your Mac&#39;s space</a> <span>5</span></li><li><a href=\"/faq/cloud-accounts/#moving-between-clouds\">Moving files between clouds</a> <span>2</span></li></ul></li><li><a href=\"/faq/icloud/\">iCloud &amp; iCloud Photos</a> <span>168</span></li><li><a href=\"/faq/data-transfers/\">Data Transfers</a> <span>119</span></li><li><a href=\"/faq/backups/\">Backups &amp; restore points</a> <span>126</span></li><li><a href=\"/faq/delta-drive/\">Delta Drive, Delta Trust &amp; My Drive</a> <span>125</span></li><li><a href=\"/faq/bridge-devices/\">Bridge &amp; your devices</a> <span>111</span></li><li><a href=\"/faq/duplicates/\">Duplicate files</a> <span>74</span></li><li><a href=\"/faq/junk-yard/\">Junk Yard</a> <span>113</span></li><li><a href=\"/faq/tuhi-assistant/\">Tuhi, your storage assistant</a> <span>105</span></li><li><a href=\"/faq/settings/\">Settings &amp; keep-time</a> <span>88</span></li><li><a href=\"/faq/performance-battery/\">Performance &amp; battery</a> <span>62</span></li><li><a href=\"/faq/privacy-safety/\">Privacy &amp; safety</a> <span>85</span></li><li><a href=\"/faq/licensing-payments/\">Licensing &amp; payments</a> <span>131</span></li><li><a href=\"/faq/troubleshooting/\">Troubleshooting &amp; messages</a> <span>180</span></li><li><a href=\"/faq/comparisons/\">Comparisons &amp; alternatives</a> <span>75</span></li><li><a href=\"/faq/mac-storage-basics/\">Mac storage basics</a> <span>315</span></li></ul></details></aside><div class=\"fl-main\"><nav class=\"fl-crumbs\" aria-label=\"Breadcrumb\"><ol><li><a href=\"/\">Home</a></li><li><a href=\"/faq/\">FAQ</a></li><li><a href=\"/faq/cloud-accounts/\">Cloud accounts</a></li><li aria-current=\"page\">Can I switch an SFTP account from a password to a private key?</li></ol></nav>\n<form class=\"fl-search\" action=\"/faq/search\" method=\"get\" role=\"search\" data-fl-search>\n<label class=\"fl-visually-hidden\" for=\"fl-q\">Search the FAQ</label>\n<input id=\"fl-q\" type=\"search\" name=\"q\" value=\"\" placeholder=\"Search 2,816 questions…\" autocomplete=\"off\" spellcheck=\"false\">\n<button type=\"submit\">Search</button>\n<div class=\"fl-suggest\" role=\"listbox\" hidden></div>\n</form>\n<article class=\"fl-entry\">\n<p class=\"eyebrow fl-eyebrow\"><a href=\"/faq/cloud-accounts/\">Cloud accounts</a> · <a href=\"/faq/cloud-accounts/#ftp-sftp\">FTP and SFTP servers</a></p>\n<h1>Can I switch an SFTP account from a password to a private key?</h1>\n<p class=\"fl-short\"><strong>Short answer:</strong> Yes. Click Edit, switch Sign in with to Private key, choose the key file (and passphrase if needed), save and test. Install the public key on the server first. The nickname and transfers stay the same.</p>\n<div class=\"fl-answer\"><p>Yes. Select the account, click <strong>Edit</strong>, change <strong>Sign in with</strong> to <strong>Private key</strong>, choose the key file with <strong>Browse…</strong> (and enter its passphrase if it has one), then save and click <strong>Test connection</strong>.</p>\n<p>Add the matching public key to the server first, or the test will fail. The account keeps its nickname, so transfers that use it carry on unchanged.</p></div>\n\n<p class=\"fl-meta\">Last reviewed <time datetime=\"2026-10-01\">October 1, 2026</time></p>\n\n<section class=\"fl-related\"><h2>Related questions</h2><ul><li><a href=\"/faq/cloud-accounts/sftp-password-or-private-key\">Should I sign in to SFTP with a password or a private key?</a></li><li><a href=\"/faq/cloud-accounts/how-do-i-edit-a-cloud-account\">How do I change the details of a cloud account I already added?</a></li></ul></section>\n<p class=\"fl-formats\">Also available as <a href=\"/faq/cloud-accounts/switch-sftp-from-password-to-key.md\">Markdown</a> and <a href=\"/faq/cloud-accounts/switch-sftp-from-password-to-key.json\">JSON</a>.</p>\n</article></div></div></div>"}