centos -ssh-终端连接
yum install openssh-service -y
openssh-service 安装好了
vim /etc/ssh/sshd_config将如下取消注释
Port 22
AddresFamily any
ListenAddress 0.0.0.0
ListenAddress ::
PermitRootLogin yes
service sshd start 开启sshd
service sshd status 查看sshd状态
systemctl enable sshd 开启sshd开机自启
systemctl list-unit-files | grep sshd 查看sshd开机自启的状态
ps -e | grep sshd 查看sshd的进程
Ip add 或者ifconfig查看IP地址
超级终端ssh链接,可以成功连接
后面有时间了接着更新公私钥的教程
每天进步一点点呀