{"id":7441,"date":"2021-02-09T22:25:01","date_gmt":"2021-02-09T21:25:01","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=7441"},"modified":"2021-02-12T07:27:04","modified_gmt":"2021-02-12T06:27:04","slug":"vmware-vsphere-copy-files-to-the-vcsa-linux-appliance","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/vmware-vsphere-copy-files-to-the-vcsa-linux-appliance\/","title":{"rendered":"VMware vSphere: Copy files to the VCSA (Linux) Appliance"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_7441 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_7441')){$('.twoclick_social_bookmarks_post_7441').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"VMware%20vSphere%3A%20Copy%20files%20to%20the%20VCSA%20%28Linux%29%20Appliance\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Aeach%20user%20who%20migrated%20their%20Windows%20based%20vCenter%20Servers%20to%20the%20Linux%20based%20VCSA%20Appliance%20have%20the%20save%20problem.%20How%20can%20I%20copy%20files%20%28for%20example%20certificates%29%20to%20and%20from%20the%20VCSA.%20%0D%0A%0D%0AThe%20vSphere%20VCSA%20appliance%20have%20a%20builtin%20ssh%20daemon.%20Unfortunately%20it%20doesn%27t%20support%20sftp%2Fscp.%20If%20try%20to%20connect%20an%0D%0AError%3A%20Cannot%20initialize%20sftp%20protocol.%20occurs.%0D%0A%0D%0A%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/vmware-vsphere-copy-files-to-the-vcsa-linux-appliance\\\/\",\"post_id\":7441,\"post_title_referrer_track\":\"VMware+vSphere%3A+Copy+files+to+the+VCSA+%28Linux%29+Appliance\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>each user who migrated their Windows based vCenter Servers to the Linux based VCSA Appliance have the save problem. How can I copy files (for example certificates) to and from the VCSA. <\/p>\n<p>The vSphere VCSA appliance have a builtin ssh daemon. Unfortunately it doesn&#8217;t support sftp\/scp. If try to connect an<br \/>\nError: <strong>Cannot initialize sftp protocol.<\/strong> occurs.<\/p>\n<p><a href=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP-Error.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP-Error.png\" alt=\"\" width=\"482\" height=\"272\" class=\"alignnone size-full wp-image-7445\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP-Error.png 482w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP-Error-300x169.png 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>Fortunately \ud83d\ude42 a seperate sftp server is shipped with the appliance. Configure WinSCP as usual and in the advancedsettings dialog set<br \/>\n<code><br \/>\nEnvironment -> SFTP -> Protocal options -> SFTP Server = \"shell \/usr\/libexec\/sftp-server\"<br \/>\n<\/code><br \/>\n<a href=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP.png\" alt=\"\" width=\"563\" height=\"459\" class=\"alignnone size-full wp-image-7442\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP.png 563w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2021\/02\/VCSA-WinSCP-300x245.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/a><\/p>\n<p>Thats it.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, each user who migrated their Windows based vCenter Servers to the Linux based VCSA Appliance have the save problem. How can I copy files (for example certificates) to and from the VCSA. The vSphere VCSA appliance have a builtin ssh daemon. Unfortunately it doesn&#8217;t support sftp\/scp. If try to connect an Error: Cannot initialize &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/vmware-vsphere-copy-files-to-the-vcsa-linux-appliance\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VMware vSphere: Copy files to the VCSA (Linux) Appliance<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1527,89,1526,1525,1524,110,1523],"class_list":["post-7441","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-cannot-initialize-sftp-protocol","tag-error","tag-scp","tag-sftu","tag-vcsa","tag-vsphere","tag-vwmare"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=7441"}],"version-history":[{"count":10,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7441\/revisions"}],"predecessor-version":[{"id":7451,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7441\/revisions\/7451"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=7441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=7441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=7441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}