{"id":27913,"date":"2026-03-04T19:34:57","date_gmt":"2026-03-04T17:34:57","guid":{"rendered":"https:\/\/www.cheops-technology.ch\/docs\/how-do-i-add-an-ftp-account-using-an-ssh-key\/"},"modified":"2026-03-05T12:58:45","modified_gmt":"2026-03-05T10:58:45","password":"","slug":"how-do-i-add-an-ftp-account-using-an-ssh-key","status":"publish","type":"docs","link":"https:\/\/www.cheops-technology.ch\/en\/docs\/how-do-i-add-an-ftp-account-using-an-ssh-key\/","title":{"rendered":"How do I add an FTP account using an SSH key?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">With your CPanel, you can only use the SFTP protocol with your main CPanel user, which you can find in the \u201cConnection details\u201d section of your DFI-DIrect interface: <a href=\"https:\/\/support.dfi.ch\/pages\/viewpage.action?pageId=3080578\">Overview of Professional Web Hosting<\/a>.<\/p>\n\n<p class=\"wp-block-paragraph\">You can connect to your web hosting securely by any other means.  <br\/>In fact, you can use an SSH key that you can generate from your CPanel.<\/p>\n\n<p class=\"wp-block-paragraph\">You can only create your key using the name of your \u201cHome Directory\u201d.<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Retrieve the path to your Home Directory from the Cpanel main page<br\/><img decoding=\"async\" height=\"400\" src=\"https:\/\/support.dfi.ch\/download\/attachments\/41975816\/image2020-7-24_15-22-7.png?version=1&modificationDate=1595596929000&api=v2\" alt=\"\"\/><br\/><\/li>\n\n\n\n<li>Enable SSH access from menu  <img decoding=\"async\" height=\"38\" src=\"https:\/\/support.dfi.ch\/download\/thumbnails\/41975816\/image2022-7-6_15-15-7.png?version=1&modificationDate=1657113308000&api=v2\" alt=\"\"\/><br\/><\/li>\n\n\n\n<li>Click on \u201cManage SSH Keys\u201d then on \u201cGenerate a new key\u201d.  <br\/><\/li>\n\n\n\n<li>Enter the name of the key with the network path retrieved in point 2<br\/><img decoding=\"async\" height=\"250\" src=\"https:\/\/support.dfi.ch\/download\/thumbnails\/41975816\/image2020-7-24_15-25-46.png?version=1&modificationDate=1595597147000&api=v2\" alt=\"\"\/><br\/>Click on \u201cGenerate Key\u201d.<br\/><\/li>\n\n\n\n<li>Once you\u2019ve clicked on \u201cgo back\u201d, you\u2019ll see that the KEY\u2019s status is \u201cnot authorized\u201d.<br\/><img decoding=\"async\" height=\"102\" src=\"https:\/\/support.dfi.ch\/download\/attachments\/41975816\/image2020-7-24_15-28-24.png?version=1&modificationDate=1595597305000&api=v2\" alt=\"\"\/><br\/>Click on \u201cManage\u201d and then on \u201cAuthorize\u201d.<br\/><\/li>\n\n\n\n<li>Now you need to recover your private key  <br\/><img decoding=\"async\" height=\"250\" src=\"https:\/\/support.dfi.ch\/download\/attachments\/41975816\/image2020-7-24_15-33-47.png?version=1&modificationDate=1595597628000&api=v2\" alt=\"\"\/><br\/><\/li>\n\n\n\n<li>Convert the key to ppk format (you must enter the password you entered in step 5):<br\/><img decoding=\"async\" height=\"150\" src=\"https:\/\/support.dfi.ch\/download\/attachments\/41975816\/image2020-7-24_15-34-58.png?version=1&modificationDate=1595597699000&api=v2\" alt=\"\"\/><br\/>then \u201cDownload Key\u201d.<br\/><\/li>\n\n\n\n<li>From Filezilla, click on the top right button <img decoding=\"async\" height=\"27\" src=\"https:\/\/support.dfi.ch\/download\/thumbnails\/41975816\/image2020-7-24_16-7-33.png?version=1&modificationDate=1595599653000&api=v2\" alt=\"\"\/> to create a new connection:<br\/><img decoding=\"async\" height=\"400\" src=\"https:\/\/support.dfi.ch\/download\/attachments\/41975816\/image2020-7-24_16-9-10.png?version=1&modificationDate=1595599751000&api=v2\" alt=\"\"\/><\/li>\n<\/ol>\n\n<p class=\"wp-block-paragraph\">You must use the private key downloaded in point 7.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With your CPanel, you can only use the SFTP protocol with your main CPanel user, which you can find in the \u201cConnection details\u201d section of your DFI-DIrect interface: Overview of Professional Web Hosting. You can connect to your web hosting securely by any other means. In fact, you can use an SSH key that you [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":29764,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[136],"doc_tag":[],"class_list":["post-27913","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-web-hosting"],"year_month":"2026-06","word_count":188,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Support","author_nicename":"support","author_url":"https:\/\/www.cheops-technology.ch\/en\/author\/support\/"},"doc_category_info":[{"term_name":"Web hosting","term_url":"https:\/\/www.cheops-technology.ch\/en\/docs-category\/web-hosting\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/comments?post=27913"}],"version-history":[{"count":1,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27913\/revisions"}],"predecessor-version":[{"id":27915,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27913\/revisions\/27915"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media\/29764"}],"wp:attachment":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media?parent=27913"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_category?post=27913"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_tag?post=27913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}