1. Click to reinstall VM-tool, and then find the compressed file VMwareTools-10.2.0...tar.gz,Copy to the desktop, unzip the compressed file to the desktop
2. Enter the terminal, switch to the desktop, find the file vmware-tools-distirb, enter this file
3. su root switch to root user,./carried out.pl可carried out文件,后面选择全部按Enter或者Y即可,当出现Enjoy -The Vmware team is installed successfully
yum install openssh-server -y
The main configuration file of OpenSSH: /etc/ssh/sshd_config
Common configuration options:
Port=22 Set the port number of SSH to 22(The default port number is 22)
Protocol 2 Enable SSH version 2 protocol
ListenAddress 192.168.0.222 Set the address that the service listens to
DenyUsers user1 user2 foo Users denied access(Separated by spaces)
AllowUsers root osmond vivek(Separated by spaces)
PermitRootLogin no prohibit root user login
PermitEmptyPasswords no User login requires password authentication
PasswordAuthentication yes enables password authentication
service sshd restart
ssh username@hostname(hostIP)
Such as: ssh [email protected]
Disclaimer: This article is original, the author is a game, please keep this statement and the attached article link when reprinting: http://www.duiyi.xyz/centos7%e5%9f%ba%e6%9c%ac%e9%85%8d%e7%bd%ae/
Recommended Posts