{"id":489,"date":"2026-08-12T09:34:28","date_gmt":"2026-08-12T09:34:28","guid":{"rendered":"https:\/\/vcfwizard.nl\/?p=489"},"modified":"2026-08-25T08:02:19","modified_gmt":"2026-08-25T08:02:19","slug":"sftp-and-credential-gotchas-explained","status":"publish","type":"post","link":"https:\/\/vcfwizard.nl\/?p=489","title":{"rendered":"SFTP and Credential Gotchas Explained for VCF Backup"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>Based on Broadcom KB article <a href=\"https:\/\/knowledge.broadcom.com\/external\/article\/415599\/sftp-settings-configuration-fails-in-vc.html\">415599<\/a><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re setting up SFTP in VMware Cloud Foundation (VCF) Fleet Management and keep running into a stubborn <strong>&#8220;SFTP Configuration failed on Cluster. Check the cluster logs for more details&#8221;<\/strong> error, the culprit might be something surprisingly simple: your password.<br><br>General Backup and Restore documentation of VCF can be found is this <a href=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vcf\/vcf-9-0-and-later\/9-1\/fleet-management\/backup-and-restore-of-cloud-foundation.html\" data-type=\"link\" data-id=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vcf\/vcf-9-0-and-later\/9-1\/fleet-management\/backup-and-restore-of-cloud-foundation.html\" target=\"_blank\" rel=\"noopener\">Link<\/a>.<br><br>Additional VCF has three levels of SFTP configurations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>vCenter<\/li>\n\n\n\n<li>SDDC (and NSX)<\/li>\n\n\n\n<li>VCF Fleet Runtime<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Every level has it&#8217;s own issue and the text below describe issues regarding item level 3.<br>But with Level 1 you can have a simple password length issue, because 20 characters is the maximum password lenght of the vCenter.<br>This is described in the <a href=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vcf\/vcf-9-0-and-later\/9-1\/fleet-management\/manage-passwords\/default-password-requirements-for-vcf-components.html\" data-type=\"link\" data-id=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vcf\/vcf-9-0-and-later\/9-1\/fleet-management\/manage-passwords\/default-password-requirements-for-vcf-components.html\" target=\"_blank\" rel=\"noopener\">VCF documentation<\/a> and the article <a href=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vsphere\/vsphere\/9-1\/vsphere-security\/securing-vcenter-server-systems\/vcenter-server-password-requirements-and-lockout-behavior.html\" data-type=\"link\" data-id=\"https:\/\/techdocs.broadcom.com\/us\/en\/vmware-cis\/vsphere\/vsphere\/9-1\/vsphere-security\/securing-vcenter-server-systems\/vcenter-server-password-requirements-and-lockout-behavior.html\" target=\"_blank\" rel=\"noopener\">vCenter Password Requirement and Lockout Behavior<\/a>.<br>So keep all password variables in mind when you create an SFTP server user account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When configuring SFTP settings under <strong>Fleet Management &gt; Lifecycle &gt; Settings<\/strong>, the deployment fails for both the Identity Broker (VIDB) and Automation (VCFA) clusters. This isn&#8217;t just a cosmetic annoyance \u2014 a working SFTP configuration is a prerequisite for backups, which in turn blocks important lifecycle operations like patching Identity Manager and Automation to newer versions such as 9.0.1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What makes this issue particularly frustrating is its behavior on retry: the retry operation <em>appears<\/em> to succeed, but the SFTP status stubbornly stays in a <strong>FAILED<\/strong> state no matter how many times you try.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Affected products<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VMware Cloud Foundation (VCF) Fleet Management 9.x<\/li>\n\n\n\n<li>VCF Identity Broker (VIDB) 9.x<\/li>\n\n\n\n<li>VCF Automation (VCFA) 9.x<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">The Root Cause<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The issue comes down to special characters in the SFTP password \u2014 specifically the combination <code>!&amp;<\/code>. The deployment script that pushes the SFTP secret to the clusters doesn&#8217;t properly escape these characters, so the shell interprets them as commands rather than treating them as literal password characters. The result: the SFTP secret never gets configured correctly, and the deployment fails.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s a classic shell-escaping bug \u2014 <code>!<\/code> triggers history expansion and <code>&amp;<\/code> backgrounds a process in most shells, so an unescaped password containing them can wreak havoc in any script that handles it carelessly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The workaround is straightforward: change the SFTP password to avoid the problematic characters.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the VCF Operations console, go to <strong>Fleet Management &gt; Lifecycle &gt; Settings &gt; SFTP Settings<\/strong>.<\/li>\n\n\n\n<li>Update the SFTP password so that it:\n<ul class=\"wp-block-list\">\n<li>uses primarily alphanumeric characters,<\/li>\n\n\n\n<li class=\"has-vivid-green-cyan-color has-text-color has-link-color wp-elements-1\"><strong>starts with a letter<\/strong>, and<\/li>\n\n\n\n<li>limits special characters to this safe set: <code>~ @ # % ^ , . \/<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Save the settings \u2014 this triggers a fresh configuration deployment.<\/li>\n\n\n\n<li>Watch the SFTP settings status until it reports success.<\/li>\n\n\n\n<li>Once the configuration is confirmed healthy, you can proceed with backups and the patching of VIDB and Automation.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Until the escaping issue is fixed in the product itself, treat the SFTP password in VCF Fleet Management as &#8220;alphanumeric-first.&#8221; If you&#8217;re standardizing passwords via a password manager or vault policy, it&#8217;s worth building a rule for this endpoint that excludes <code>!<\/code> and <code>&amp;<\/code> (and other shell-significant characters) entirely. It&#8217;ll save you a confusing troubleshooting session staring at a FAILED status that never explains itself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on Broadcom KB article 415599 If you&#8217;re setting up SFTP in VMware Cloud Foundation (VCF) Fleet Management and keep running into a stubborn &#8220;SFTP Configuration failed on Cluster. Check the cluster logs for more details&#8221; error, the culprit might be something surprisingly simple: your password. General Backup and Restore documentation of VCF can be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":495,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_regular_price":[],"currency_symbol":[],"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[32,18],"tags":[],"class_list":["post-489","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-doc","category-vcf-infrastructuur"],"post_slider_layout_featured_media_urls":{"thumbnail":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-150x150.png",150,150,true],"post_slider_layout_landscape_large":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-1200x800.png",1200,800,true],"post_slider_layout_portrait_large":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-1200x958.png",1200,958,true],"post_slider_layout_square_large":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-1200x958.png",1200,958,true],"post_slider_layout_landscape":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-600x400.png",600,400,true],"post_slider_layout_portrait":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-600x900.png",600,900,true],"post_slider_layout_square":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19-600x600.png",600,600,true],"full":["https:\/\/vcfwizard.nl\/wp-content\/uploads\/2026\/08\/ChatGPT-Image-13-aug-2026-10_12_19.png",1642,958,false]},"_links":{"self":[{"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=489"}],"version-history":[{"count":15,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":509,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions\/509"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=\/wp\/v2\/media\/495"}],"wp:attachment":[{"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vcfwizard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}