|
|
本帖最后由 rui 于 2018-6-22 07:43 编辑 4 v4 l& A1 E: m( t( o
% p( T4 a- C, ?+ n0 Q; ]sshd安装* z3 S5 t+ d! |* r; d
ssh客户端不能使用* x& r8 |2 D) j- ?. L/ g
解决方法:& Y6 g' S$ Q4 ]. {
yum -y install openssh-clients
2 p2 B. O& ]1 l2 g8 u) {# `0 W& b3 \! `# N, ?# |. o* ]+ c5 R
1 m: c l9 [8 F! h6 E
sshd服务不正常,安装:& w4 P3 Y" D. P7 a' U/ ~
2 _6 w3 X: U% F[root@1eb419a7b2e7 /]#yum install -y openssh-server" P. X4 Z0 f& _/ j% {6 b
[root@1eb419a7b2e7 /]# systemctl start sshd.service + _" |& Y( \& n4 ?
[root@1eb419a7b2e7 /]# systemctl enable sshd.service- g7 t: p1 k5 t/ J7 j
[root@1eb419a7b2e7 /]# netstat -ntlp
}1 V6 Y) z- p5 JActive Internet connections (only servers)+ E3 l* U$ X( d. c& K
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name + H, A `# [6 {: l- N
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 439/sshd 8 b# _- g% z- l
tcp6 0 0 :::22 :::* LISTEN 439/sshd # Y0 k4 C: u2 J; h( d2 }
|
|