Monday, January 28, 2013

RHEV Hypervisor - SSH not working

I have an RHEV 6.3 and by default SSH will be disabled in it. You need to enable SSH from Security and then make sure you are doing the SSH as

ssh admin@<your_ip> because in RHEV 6.3 the default administrator account is not root but admin.

Edit: Please see the anonymous comment #1 below

7 comments:

  1. That's not true, admin and root are completely different accounts. root is just disabled by default not to mess up with the system

    ReplyDelete
  2. and how to ssh as root to RHEV Hypervisor? or how to enable root pass on RHEV Hypervisor?

    ReplyDelete
    Replies
    1. hope this helps
      https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Maintaining_and_Administrating_Red_Hat_Enterprise_Virtualization_Hypervisors-Setting_the_root_password.html

      Delete
    2. thank you for quick reply but:
      1-in that page on "Gaining temporary root access", method 1 is just for windows and it doesn't work when RHEV manager is a linux system!
      2-about method 2 on this page access to root on rescue mode is possible but command "passwd" doesn't work then you can not change root passwd!! because it is secure!!!
      3-for section "Setting the root password" you have no access to root then you can not run other commands but considering that on RHEV-H GUI, F2 opens a root shell for you "but" there is no "setup" command as it says "a. Run the command setup" !!!!!!

      or I am completely in wrong direction...

      Delete
    3. @Anonymous you do not need to use passwd. Please follow the exact instructions.

      Delete
    4. After adding RHEV-H as host to RHEV manager you need to "approve" host from the manager GUI. There you "must" enter root password.
      The problem is not your link...any way thank you...

      Delete