|
|
The authenticity of host 'controller02 (172.24.21.202)' can't be established.
* ]) G) i5 r" |6 y$ z* l; c; uECDSA key fingerprint is SHA256:JolsHOHD3RnNi4qOq5IGruOeA6kfJWjUltPjGePjZsA.
- j% l& v' r/ q2 B% s5 _: p: nECDSA key fingerprint is MD5:17:ba:bf:fd:f6:22:20:e5:72:f2:7f:41:5b:98:19:89.
$ F- x0 `, _/ ` ]Are you sure you want to continue connecting (yes/no)? yes
3 C$ A/ [+ R) |, W+ ]% Z5 NWarning: Permanently added 'controller02' (ECDSA) to the list of known hosts.
5 b; i" |# s7 Y4 |5 ^Last failed login: Wed May 31 09:46:42 CST 2023 from 192.168.21.29 on ssh:notty! x4 H: {0 X2 \
There were 18 failed login attempts since the last successful login. ?" Q/ M7 r0 H+ x9 U
Last login: Tue May 30 06:08:26 2023 from 192.168.21.129
( S! V& @2 q1 f' s- z& L- H9 o0 X8 M/ H1 h$ `: d# e6 }6 R6 ^9 A1 T$ C5 Z
# cat /var/log/secure |grep "Failed password for "
) Y- l) m) W& g1 yMay 31 09:36:17 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2' O3 V$ c0 ~: d0 k6 b& Z! Z
May 31 09:36:45 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2
5 e0 {9 A; | W) QMay 31 09:36:46 controller02 sshd[298653]: Failed password for root from 192.168.21.29 port 9488 ssh2 R; |7 e1 ]3 p+ ~! L/ d4 a
@* o4 ~- n& i/ ~; a! B; l$ d8 |
- S5 X6 v. y2 k9 t7 N0 P6 C3 F' G1 c+ h& V- a8 p2 E* h4 z# t& S: f
[root@controller02 ~]# source /etc/pam.d/password-auth/ {/ q) _5 W! r6 C& |
-bash: auth: command not found
0 b8 h6 h# [" j9 Y& R8 U- p) g-bash: auth: command not found! p- \. E6 [+ j1 L
-bash: auth: command not found
% u1 J# T% S4 U5 k# q-bash: auth: command not found5 b! e( m* q4 w# u! c
-bash: account: command not found2 T& T @# w5 Q9 z- V2 F
-bash: account: command not found& {2 \. d. k) G
-bash: 1000: No such file or directory
; A1 o0 M/ x' Y, x( g-bash: account: command not found
8 u7 s8 e0 ?/ `& n% S1 ]$ o-bash: password: command not found. }7 s% I" b& w% I9 R4 x
-bash: password: command not found* R( ]% H2 }; j
-bash: password: command not found; U6 ^& a/ }/ }7 s# |2 w
-bash: session: command not found. W5 L/ G" {$ Z, u$ d% H" ]* {
-bash: session: command not found
7 G8 l9 J2 Z& U3 K. j( u; K-bash: -session: command not found
; d U2 ~1 b- u) @1 x-bash: session: command not found
+ b+ e( \( a% r-bash: session: command not found4 n2 J/ E X) w5 q7 a& Q
[root@controller02 ~]# exit7 m$ {' d7 a! h
logout
- z/ H* i" I5 s( T/ QConnection to controller02 closed.% R2 [7 U; A: Z. ^4 j$ g$ Q
[root@controller03 ~]# ssh controller01 }% M! N" W! q, e2 F7 ~
Last login: Wed May 31 10:04:09 2023 from 192.168.21.290 R" |' P5 Z: h8 J. ]
[root@controller01 ~]# source /etc/pam.d/password-auth
( o5 E- x2 {6 X1 E' c! P7 G r; e-bash: auth: command not found$ l( v. w) w" j( g. P
-bash: auth: command not found
9 ?) k0 [$ a* {2 r+ i-bash: auth: command not found
4 l* z x% [5 g7 j7 w4 c& r. K! x-bash: auth: command not found
# w/ Z% I, C: a& A3 ^-bash: account: command not found
1 W" h; v* A5 ?# U, E9 `/ Z-bash: account: command not found5 z8 l" {& W: f
-bash: 1000: No such file or directory" o& }( C) J, Z
-bash: account: command not found2 Y# ^+ A0 z8 p# o o9 E9 k
-bash: password: command not found5 ^. L1 V5 j) e1 {" H; }
-bash: password: command not found
* L# T) \ } O) V' r Q8 h, G1 ]-bash: password: command not found
7 ?- d: G- t/ W-bash: session: command not found
9 F/ t, ]$ c& l0 k, l+ v9 J-bash: session: command not found2 ^$ y. Z& _$ ^
-bash: -session: command not found
2 k- b' V! a) o-bash: session: command not found' G& c- G1 t2 U
-bash: session: command not found+ O8 {6 W) s1 Y+ P
[root@controller01 ~]#
1 c5 S/ B" S$ R% d6 }5 }; T% x
% z9 {- x2 ^+ R. ] p' i8 S/ _' a7 F3 L0 U
最后通过source /etc/pam.d/password-auth9 r. U9 b% B4 E4 _
文件后解决。, M) Z8 Q: P; T/ v! x
: m+ ^5 k, B/ s6 a: h# ~$ N" ?
|
|