<div dir="ltr">We need to share our not so stupid unix tricks. Here is one:<div><br></div><div>ssh key access audit script:</div><div>for i in $(seq 254) ; do x="192.168.49.$i"; echo -n "$x: " ; ssh -o PasswordAuthentication=no -o NumberOfPasswordPrompts=0 $x hostname ;</div>
<div><br></div><div>this will give you one of 3 things:</div><div>1: hostname</div><div>2: failed login</div><div>3: unreachable error</div><div><br></div><div>Easy way to find out where your keys work, who's next?<br>
</div><div><div><br></div><div>Marc</div>-- <br>Freedom is nothing but a chance to be better.<br>--Albert Camus<br><br>The inherent vice of capitalism is the unequal sharing of blessings; the inherent virtue of socialism is the equal sharing of miseries. <br>
-- Winston Churchill<br><br>Do the arithmetic or be doomed to talk nonsense.<br>--John McCarthy
</div></div>