50.root修改默认端口

发表于 linux 分类,标签:
1.创建新用户并修改密码;useraddleipasswdlei2.修改ssh配置文件;vim/etc/ssh/sshd_configPort10260AllowUsersleiPermitRootLoginyes3.重启ssh。servicesshdrestart/etc/init.d/sshdrestartsystemctlrestartsshd...