Snapshot
Here first introduced a VMware function, snapshot function, if there are some misoperation in the Midway experiment, and can not be restored, we may use the function of this virtual machine, snapshot function.
For use with VMware virtual machines only.
Remote connection
Here we recommend two kinds of remote connection tools
Putty
: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Xshell
: https://www.netsarang.com/products/xsh_overview.html
Putty Installation Use Connect sshd
When you're done downloading it, open it.
Very simple operation.
Set the number of rows displayed in the box again
Set font, encoding
Login is automatically save a secret key, here we do not have to let him directly select "Yes"
Log in to the root account and password of the setup that you installed the machine upon completion
Is ok!
Xshell
Personal use free, with user-friendly use
Simple Setup Connection
Is OK!
Secret key authentication
Putty secret key generation
Using the Putty key tool to generate the secret key automatically
Authentication method: Public private key pairing authentication pass, public key Place server, private key save well
And keep your public key in your system.
Public key creation Save path setting
Steps
- Mkdir/root/.shh
- chmod 700/root/.shh
- Vim/root/.shh/authorized_keys #一定要保存正确的路径位置
- Vim/etc/sysconfig/selinux---selinux=disabled (permanently closed) or command line directly knocking ' Setenforce 0 '
Then log in using the secret key in the Putty tool.
There must be a point to save or the next time you want to continue with manual operation
There's no clue to that box.
Complete
Xshell
Actually, it's almost putty.
You need to use putty to manually load your public key into the save file.
Enter the password for the secret key to determine the login
Complete
About SELinux
Temporarily turn off SELinux--"Setenforce 0" getenforce View status = Sestatus-v
Permanently off SELinux----'/etc/sysconfig/selinux '-selinux=disabled (OFF) enabled is on
Remote connection Linux and key authentication