Este conteúdo não está disponível no idioma selecionado.
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
nano /etc/ssh/sshd_config
Copy to Clipboard Copied! - 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:
# Authentication: #LoginGraceTime 2m PermitRootLogin yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
Copy to Clipboard Copied! - Save the updated
/etc/ssh/sshd_config
file. - Restart the SSH server:
service sshd restart
service sshd restart
Copy to Clipboard Copied!
You can now connect to the conversion server as root over SSH.