系统相关
首页 > 系统相关> > ubuntu: Network error: Connection refused

ubuntu: Network error: Connection refused

作者:互联网

 

1、问题: Network error: Connection refused

 

 

2、解决方法

root@DESKTOP-1N42TVH:~# /etc/init.d/ssh status
 * sshd is not running

 

 

3、

root@DESKTOP-1N42TVH:~# /etc/init.d/ssh restart
 * Restarting OpenBSD Secure Shell server sshd                                                                                                                                              [ OK ]
root@DESKTOP-1N42TVH:~# /etc/init.d/ssh status
 * sshd is running

 

4、测试,可以正常登录了

 

标签:sshd,1N42TVH,Network,init,DESKTOP,etc,Connection,ssh,error
来源: https://www.cnblogs.com/liujiaxin2018/p/16183947.html