当前位置:网站首页>SSH connection denied

SSH connection denied

2022-07-06 20:04:00 A cat wandering in the middle of the night

Chapter one linux Help command
Chapter two linux Command line shortcuts
The third chapter linux The firewall
Chapter four linux The service starts automatically
The fifth chapter linux Shutdown and restart of
Chapter six linux Environmental variables
Chapter vii. linux Directory operation command of
Chapter viii. linux The directory structure of
Chapter nine linux The use of ssh Connection denied



Use ssh Connection denied

When connecting virtual machines with computers , Find out ssh Connection denied

Enter virtual machine Linux Of /etc/init.d Under the table of contents , see sshd Whether to start

./sshd status

Found to be stopped , Just restart

./sshd restart

You can also use

service sshd start

see sshd Whether it is a system service

chkconfig --list |grep sshd

Set up sshd The service starts automatically

chkconfig --level 3 sshd on
原网站

版权声明
本文为[A cat wandering in the middle of the night]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061208119105.html