解决putty连接报 connection refused

简介: 解决putty连接报 connection refused

解决putty连接报connection refused

首先查看linux系统是否能正常上网;如果能正常上网说明网络连接正常

然后查看是否开启了ssh服务


在终端界面输入:service sshd start。 结果显示:ssh:unrecognized service。

输入查看命令: service ssh status 显示也是 unrecognized service。 说明没有开启ssh服务。


接下来需要安装ssh服务

安装ssh服务需要在root权限下进行  在命令行输入sudo 进入root用户

安装sshd命令: #yuminstall openssh-server

安装好后开启: #/etc/init.d/sshd start

目录
打赏
0
0
0
0
2
分享
相关文章
软件开发RDM无法连接宝塔,Connection: Disconnect on error: Connection error: Connection timed out,宝塔必须放行6379
软件开发RDM无法连接宝塔,Connection: Disconnect on error: Connection error: Connection timed out,宝塔必须放行6379
Kelvin Connection(开尔文连接)
Kelvin Connection(开尔文连接)
927 0
使用frp时遇到的问题connect: connection refuseddial tcp xxxx:7000: connect: connection refused
最近在做的项目需要用到frp来做代理连接本地内网机,卡在最后启动客户端的时候,提示报错:login to server failed: dial tcp xxxx:7000: connect: connection refuseddial tcp xxxx:7000: connect: connection refused!!找了很多尝试的办法,现在给大家列一下希望对大家有帮助。
4105 0
MobaXtem连接虚拟机中的Ubuntu系统 报错: Network erro: Connection refused
学习MobaXtem连接虚拟机中的Ubuntu系统 报错: Network erro: Connection refused。
567 0
MobaXtem连接虚拟机中的Ubuntu系统 报错: Network erro: Connection refused
MobaXterm链接linux虚拟机报错Network error: Connection refused
MobaXterm链接linux虚拟机报错Network error: Connection refused
1745 2
linux篇-xshell连接突然报Connection closed by foreign host.
linux篇-xshell连接突然报Connection closed by foreign host.
1417 0
linux篇-xshell连接突然报Connection closed by foreign host.
Fiddler - 由于目标计算机积极拒绝无法连接(Connection to localhost failed)
Fiddler - 由于目标计算机积极拒绝无法连接(Connection to localhost failed)
1574 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等