Show Table of Contents
5.2.2. Enable root login over SSH
Now that virt-v2v is installed, the conversion server must be prepared to accept P2V client connections. The P2V client connects to the conversion server as root using SSH, so root login over SSH must be allowed on the conversion server.
Enable root login over SSH:
- As root, edit the sshd_config file in
/etc/ssh/sshd_config:nano /etc/ssh/sshd_config
- Add a line in the Authentication section of the file that says
PermitRootLogin yes. This line may already exist and be commented out with a "#". In this case, remove the "#".# Authentication: #LoginGraceTime 2m PermitRootLogin yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
- Save the updated
/etc/ssh/sshd_configfile. - Restart the SSH server:
service sshd restart
You can now connect to the conversion server as root over SSH.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.