Command:
curl -k https://<sftp-host-ip>:30006/statusError message seen in the Output:
platform-vmsp-platform-sftp":{"ok":false,"lastError":"failed to connect to SSH server: ssh: handshake failed: ssh: disconnect, reason 11: Access denied.","timestamp":"2026-06-15T03:00:15Z","duration":"90.861561ms","contiguousFailures":1,"lastTransitionTime":VCF Operations 9.0.x
Old credentials are still stored in VMSP
vmware-system-user account.sudo -ikubectl get pd vmsp-platform -n vmsp-platform -ojsonpath="{.spec.values.sftp}"{"directory":"<Directory-Name>", "host": "<SFTP-Hostname>", "port":22, "username": "<UserName>"}kubectl get secret sftp-password-secret -n vmsp-platform -o jsonpath='{.data.sftpPassword}' | base64 --decode {
"spec": {
"values": {
"sftp": {
"directory": "/<Directory name as set in SFTP server>/", <----- From the output in Step-5.1
"host": "<SFTP-HOST-IP>",
"port": 22,
"username": "<SFTP-USERNAME>" <----- New Username
}
}
}
}kubectl patch pd vmsp-platform -n vmsp-platform --type=merge --patch-file /tmp/patch.jsonkubectl create secret generic sftp-password-secret -n vmsp-platform --from-literal='sftpPassword=<password>' --dry-run=client -o yaml | kubectl apply -f -Note:
In version 9.0, the VI Editor is not available by default. The required packages are not included in the out-of-the-box deployment and must be installed manually. For detailed installation steps, refer to KB Article 424649, which provides instructions for installing the required VIM packages.