/var/log/vrlcm/vmware_vrlcm.log
YYYY-MM--DD INFO vrlcm[1265] [pool-3-thread-14] [c.v.v.l.v.p.u.VMSPDay2Util] -- Command: /usr/local/bin/vmsp pkg push --hooks-only xx.xx.xx.xx:xxxx/data/vm-config/vmrepo/productBinariesRepo/xx/xxxxxx -l upgrade=true --wait Error: date time Running hook prePush.sh
+ /usr/bin/sshpass xxxxx -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /data/vmsp-pkg/files/scripts/vra_export_data.sh
root@<IP>
/etc/ssh/ssh_config: line 47: Bad configuration option: permitrootlogin
/etc/ssh/ssh_config: terminating, 1 bad configuration options
/usr/bin/scp: Connection closed
Error: pre-push: failed to run hook prePush.sh: exit status 255
PermitRootLogin parameter is incorrectly placed in the SSH client configuration file (/etc/ssh/ssh_config) of Fleet Manager. This parameter is only valid for the SSH daemon server configuration file (/etc/ssh/sshd_config).To resolve this issue please follow the steps below on Fleet Manager.
/etc/ssh/ssh_config):
Open the file for editing.
Ensure that the PermitRootLogin directive is not present, as it is an invalid parameter in this file. Remove the line entirely if it is found.
/etc/ssh/sshd_config):
Open the file for editing.
Confirm that the PermitRootLogin parameter is set to yes. If it is set to no or commented out, update the file to allow root logins.
Example configuration:
PermitRootLogin yes
Navigate to the Fleet Manager UI.
Disable the SSH service.
Wait a few seconds, then re-enable the SSH service to restart the daemon and apply the configuration changes.