当前位置:网站首页>使用ssh连接被拒
使用ssh连接被拒
2022-07-06 12:08:00 【徘徊在深夜中的猫】
第一章 linux之帮助命令
第二章 linux命令行快捷键
第三章 linux之防火墙
第四章 linux之服务开机自启
第五章 linux之关机与重启
第六章 linux之环境变量
第七章 linux之目录操作命令
第八章 linux之目录结构
第九章 linux之使用ssh连接被拒
文章目录
使用ssh连接被拒
在使用电脑连接虚拟机时,发现ssh连接被拒
进入虚拟机Linux的 /etc/init.d目录下,查看sshd是否启动
./sshd status
发现是停止状态,重启一下即可
./sshd restart
也可以使用
service sshd start
查看sshd是否已是系统服务
chkconfig --list |grep sshd
设置sshd服务自动启动
chkconfig --level 3 sshd on
边栏推荐
猜你喜欢

利用 clip-path 绘制不规则的图形
![[translation] micro survey of cloud native observation ability. Prometheus leads the trend, but there are still obstacles to understanding the health of the system](/img/63/3addcecb69dcb769c4736653952f66.png)
[translation] micro survey of cloud native observation ability. Prometheus leads the trend, but there are still obstacles to understanding the health of the system

In simple terms, interview surprise Edition

Interview assault 63: how to remove duplication in MySQL?

Example of shutter text component

Standardized QCI characteristics

Speech recognition (ASR) paper selection: talcs: an open source Mandarin English code switching corps and a speech

LeetCode_ Double pointer_ Medium_ 61. rotating linked list
![[calculating emotion and thought] floor sweeper, typist, information panic and Oppenheimer](/img/8c/afb90128e7a523bbee4c6c4166363f.png)
[calculating emotion and thought] floor sweeper, typist, information panic and Oppenheimer
Classic 100 questions of algorithm interview, the latest career planning of Android programmers
随机推荐
LeetCode_ Double pointer_ Medium_ 61. rotating linked list
350. 两个数组的交集 II
Systematic and detailed explanation of redis operation hash type data (with source code analysis and test results)
某东短信登录复活 安装部署教程
Microservice architecture debate between radical technologists vs Project conservatives
String长度限制?
【计算情与思】扫地僧、打字员、信息恐慌与奥本海默
MySQL information schema learning (I) -- general table
测试用里hi
Transformer model (pytorch code explanation)
Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing
颜色(color)转换为三刺激值(r/g/b)(干股)
(3) Web security | penetration testing | basic knowledge of network security construction, IIS website construction, EXE backdoor generation tool quasar, basic use of
Hudi vs Delta vs Iceberg
OceanBase社区版之OBD方式部署方式单机安装
After solving 2961 user feedback, I made such a change
Example of shutter text component
Vscode debug run fluent message: there is no extension for debugging yaml. Should we find yaml extensions in the market?
Lick the dog until the last one has nothing (simple DP)
Standardized QCI characteristics