1, Linux server is actually able to clone the virtual machine, so that more than a new installation more convenient, you can operate on two convenient, cloning steps are as follows:
Open the virtual machine---Right-click-Manage = = Clone: To the following interface:
Clone the current state of the virtual machine:
Create a complete clone to facilitate later operation:
3. Show cloning Progress:
4. Cloning is complete at this time:
5. After cloning, you need to modify the IP address to log in.
Note: After cloning, you need to modify the network card's MAC address and UUID, or it will cause the system to become unusable:
2. Log in between Linux servers: a machine and a B machine, for example.
1, first run on a machine ssh-keygen-t RSA three times after the return of the public key and private key, as follows:
2. Public key and secret key in/root/.ssh/directory:
3, at this time need to put id_rss.pub public key content on the B server, placed in the /root/.ssh/authorized_keys file.
[email protected]. ssh]# scp-p 52588 ~/.ssh/id_rsa.pub [email protected]:.ssh/id_rsa.pub
The command is to replicate the local public key to the remote/root/.ssh directory, but you need to enter the password:
4. Log on to the B machine at this time:
Cat/root/.ssh/id_rsa.pub >>/root/.ssh/authorized_keys
Indicates that the contents of the id_rsa.pub are appended to the redirect file.
Note: In order to not affect the use of the previous key, you must append OH.
5, at this time can use: Return to a machine, directly through ssh-p 52588 [email protected] login.
After testing, you can log in.
Day04.2:linux cloning and login between servers