I declare not so stupid unix tricks thread open
mspitzer at gmail.com
Fri Mar 14 11:29:38 EDT 2014
We need to share our not so stupid unix tricks. Here is one:
ssh key access audit script:
for i in $(seq 254) ; do x="192.168.49.$i"; echo -n "$x: " ; ssh -o
PasswordAuthentication=no -o NumberOfPasswordPrompts=0 $x hostname ;
this will give you one of 3 things:
2: failed login
3: unreachable error
Easy way to find out where your keys work, who's next?
Freedom is nothing but a chance to be better.
The inherent vice of capitalism is the unequal sharing of blessings; the
inherent virtue of socialism is the equal sharing of miseries.
-- Winston Churchill
Do the arithmetic or be doomed to talk nonsense.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk