VMware Cloud Community
LSchultheis
Enthusiast
Enthusiast
Jump to solution

VDP 6.1 unable to ssh using root password

Hello,

I am trying to upgrade my VDP 6.1 appliance to 6.1.1. The iso is not being detected when mounted so I was going to run the hotfix. However, I cannot upload the hotfix files to my appliance via ssh. I am able to log in to the vdp-configure web portal and the vmware console using the root account. When I try to log in using putty or winscp it is saying access denied.

Also, all the potential solutions I'm finding via google appear to be broken. I get this error when trying to access the vmware kb articles:  1 $deletedMessageForViewDocumentPage

Any advice would be appreciated. Thanks in advance.

1 Solution

Accepted Solutions
rcporto
Leadership
Leadership
Jump to solution

Check if root login through SSH is allowed: VMware KB: Connecting to VMware vSphere Data Protection (VDP) 5.8 via SSH as root user fails with th...

To work around this issue, use one of these options:

  • Allow SSH root login:
    1. Log into the appliance through the console with root user credentials.
    2. Open the sshd_config file, located at /etc/ssh/, using a text editor.
    3. Change the entry # PermitRoot Login yes to PermitRoot Login yes (Remove the #).
    4. Restart the sshd service via the service sshd restart or /etc/rc.d/sshd restart.
    5. You should now be able to log in using an SSH client with the root user credentials.

  • Login as admin:
    1. Log in to the appliance using SSH with the VDP admin user credentials (Use the user and password selected during VDP initial configuration).
    2. Run this command to become a root user and perform administrative actions as required:

      su - root

  • Direct Console login:

    Log into the VDP appliance on the console with root user credentials and perform administrative actions as required.

Note: Leaving the root login open in the SSH daemon is a security hazard and should be avoided. Always set this permission off after using it. You can do this by re-editing the sshd_config file and commenting out the PermitRoot Login line.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto

View solution in original post

3 Replies
rcporto
Leadership
Leadership
Jump to solution

Check if root login through SSH is allowed: VMware KB: Connecting to VMware vSphere Data Protection (VDP) 5.8 via SSH as root user fails with th...

To work around this issue, use one of these options:

  • Allow SSH root login:
    1. Log into the appliance through the console with root user credentials.
    2. Open the sshd_config file, located at /etc/ssh/, using a text editor.
    3. Change the entry # PermitRoot Login yes to PermitRoot Login yes (Remove the #).
    4. Restart the sshd service via the service sshd restart or /etc/rc.d/sshd restart.
    5. You should now be able to log in using an SSH client with the root user credentials.

  • Login as admin:
    1. Log in to the appliance using SSH with the VDP admin user credentials (Use the user and password selected during VDP initial configuration).
    2. Run this command to become a root user and perform administrative actions as required:

      su - root

  • Direct Console login:

    Log into the VDP appliance on the console with root user credentials and perform administrative actions as required.

Note: Leaving the root login open in the SSH daemon is a security hazard and should be avoided. Always set this permission off after using it. You can do this by re-editing the sshd_config file and commenting out the PermitRoot Login line.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
LSchultheis
Enthusiast
Enthusiast
Jump to solution

Yes, it is enabled.

ssh enabled.png

0 Kudos
derekrougeaucgi
Contributor
Contributor
Jump to solution

Use the "admin" account to login and then enable root using "su - root".

0 Kudos