Scripts are used to checkLinux SystemsCloudCommon remote connections that occur on the serverProblem, the script can be placed in the server ahead of time, the problem can be the Web VNC login to perform the test.
attached: Management Console terminal Web VNC mode login, reference:Http://help.aliyun.com/view/11108189_13574044.html?spm=5176.7189909.0.0.IuYepv
:
English version (Web VNC connection can download this version):
wget http://jinxiang.oss-cn-hangzhou.aliyuncs.com/vmsshchecken.sh
Chinese version:
Version GBK:
wget http://jinxiang.oss-cn-hangzhou.aliyuncs.com/vmsshcheckgbk.sh
Version UTF8:
wget http://jinxiang.oss-cn-hangzhou.aliyuncs.com/vmsshcheckutf8.sh
Add permissions after download:
chmod 755 vmsshchecken.sh
#使用方法:
#例:./vmsshcheckgbk.sh
#./vmsshcheckutf8.sh
#
#脚本检查机制:
#1, detect important file permissions
#2, detect SSH ports and root privileges
#3, detecting network card IP address
#4, detect boot disk mount/etc/fstab file
#5, check NetworkManager service status
The following are impersonation errors:
In the console state, the English version is executable:
Linux system SSH remote connection Check script