|
|
The authenticity of host 'controller02 (172.24.21.202)' can't be established.
, O# H7 { h# z' z# s! \ i; l4 k' ]+ ^ECDSA key fingerprint is SHA256:JolsHOHD3RnNi4qOq5IGruOeA6kfJWjUltPjGePjZsA.
% W3 z. z+ P+ l5 K8 s+ ~. B% oECDSA key fingerprint is MD5:17:ba:bf:fd:f6:22:20:e5:72:f2:7f:41:5b:98:19:89.
, b }3 T' t: Z& u6 j, i- nAre you sure you want to continue connecting (yes/no)? yes, N8 u9 M e& g7 O! c! g; {2 o& S
Warning: Permanently added 'controller02' (ECDSA) to the list of known hosts.
+ v/ {! W% F' s5 M# R& |0 m1 OLast failed login: Wed May 31 09:46:42 CST 2023 from 192.168.21.29 on ssh:notty$ U2 k1 _1 m G# D5 c
There were 18 failed login attempts since the last successful login./ O- w, T+ f. i& F
Last login: Tue May 30 06:08:26 2023 from 192.168.21.129
2 B. ~; E( D# ?5 p2 x: n
! ^# a, p Q: B9 }$ a8 e9 Z# cat /var/log/secure |grep "Failed password for ". @$ I1 H( B; e& \5 G3 ^3 f
May 31 09:36:17 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2
* w6 w% K5 X- D3 `* u/ p- x7 rMay 31 09:36:45 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2
8 V# D+ Z# ~5 D: B2 KMay 31 09:36:46 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2# d7 ~' C( `: N+ i
9 O0 w* h+ J4 f1 G9 j
0 d( b. Q( o7 s. q' }0 a! P
6 P7 k% `; W* o1 Z' \( M[root@controller02 ~]# source /etc/pam.d/password-auth- N) h0 o2 S9 H: G7 v' g) g0 m
-bash: auth: command not found
2 h2 {; O( J, h) o) Y4 d: T. x; O& y-bash: auth: command not found
( a( T" x4 v* z* c( Q/ j2 _-bash: auth: command not found
. b% l- ?1 x1 e4 n7 c-bash: auth: command not found% q; P+ Y1 g+ T! n0 I9 H& D( `
-bash: account: command not found
) g/ s; r& F% {" D; K-bash: account: command not found
! b, m) o: X5 f-bash: 1000: No such file or directory
1 H, N, `2 A7 N-bash: account: command not found
& R& ?' l0 S" O3 _-bash: password: command not found: J1 T5 G* h U+ u) s
-bash: password: command not found5 T9 b! e! Z; O5 h
-bash: password: command not found
: W" E) }# s" \: q' _7 b0 H4 r-bash: session: command not found
1 W k4 g& j, y# T8 ~4 ?/ |$ _-bash: session: command not found
6 l+ s4 g" O2 U! [$ K: ]-bash: -session: command not found
; J, Y5 T4 r" i) g) S0 I+ a+ x-bash: session: command not found
! K* n; V; T% x9 u3 o3 n# N7 W8 l-bash: session: command not found/ ?. w; {' K! |5 G- K
[root@controller02 ~]# exit
; d9 W7 S( _; r2 H/ Q; slogout" u U& e! v! _, k' w' S
Connection to controller02 closed.& f, u7 J; z1 K0 s. r. F# [ v/ Y! C
[root@controller03 ~]# ssh controller01/ |2 j$ P: e6 _# o
Last login: Wed May 31 10:04:09 2023 from 192.168.21.29
7 k1 ^1 q6 j( G( Z9 J[root@controller01 ~]# source /etc/pam.d/password-auth. u9 N- t8 K8 L g& N7 ^; g$ V
-bash: auth: command not found
0 e0 d$ q( H T. _" t-bash: auth: command not found6 I3 H3 l- R5 e5 E. p5 g; ]6 h
-bash: auth: command not found0 m4 ]% C: V$ n" B
-bash: auth: command not found
8 @9 Q! n- n( `6 S* P8 ^0 C, E-bash: account: command not found
1 N& U, C- y% x% o% w-bash: account: command not found/ n/ P% t% S( h9 A: e2 v2 ~+ `, h
-bash: 1000: No such file or directory
( I e& ?6 y3 F" W! o: c* A6 E-bash: account: command not found ?5 p8 `# ^% l7 I+ x
-bash: password: command not found
/ \2 D- y4 }1 a. e! m8 d-bash: password: command not found6 U" Q3 E1 p9 n
-bash: password: command not found) q& C0 J, p5 ~2 V2 D4 \
-bash: session: command not found6 E) D. v( f4 K7 L4 r
-bash: session: command not found4 @+ c+ U c2 \8 i: K7 F8 R
-bash: -session: command not found
[+ d+ h3 B7 p0 u. U* G X-bash: session: command not found* H7 a) V/ U; D; f( x. ]8 Q% p
-bash: session: command not found
$ u! t5 P* p. u* K[root@controller01 ~]#
9 R% \0 O* I; O2 d" t
) N; ]$ _( }0 T3 a0 S/ @% |
3 |1 J# ~, o' u) _3 c: `; x最后通过source /etc/pam.d/password-auth' n3 S/ j/ c2 ^2 L) x0 R# n- a
文件后解决。
0 n+ P2 ?2 [6 n2 ~
) X9 u0 p% e0 J# _. G |
|