Tuesday, September 8, 2009

fix ssh known_hosts


#!/bin/bash

if [ $# -ne 1 ]
then
echo "Usage: $0 line"
exit
fi

line=$1
tmp=tmp_$RANDOM

sed $line'd' ~/.ssh/known_hosts > $tmp
mv $tmp ~/.ssh/known_hosts

6 comments:

vigstrom said...

(if gnu sed) I could:
sed -i '3d' file.txt

AXE FM Radio Download Hour said...

Didnt' understand any of that post! However, while you're doing all that, why not come and enjoy the web rock radio show on my blog? All welcome. Hope to see you there!

daniel said...

I think now Internet user are increasing day by day so company are preferring online marketing now.
I think that Marketing Online is still the best choice, cause we have high ROI´s with less investments, especially with SEO.
Thanks.

money and profit

xmm said...

ssh-keygen -R host_or_ip

Anonymous said...

Gucci
Replica GUCCI SHOES
Replica GUCCI handbags
wholesale gucci shoes
cheap Gucci shoes
cheap Gucci handbags
discount gucci shoes
Gucci shop
Gucci bags
Gucci shoes
Gucci ON sale
Gucci Belts
Gucci small accessories
Gucci hats & scarves
Gucci wallets
Gucci Handbags
women Gucci shoes
Men Gucci shoes
Gucci
Replica GUCCI SHOES
Replica GUCCI handbags
wholesale gucci shoes
cheap Gucci shoes
cheap Gucci handbags
discount gucci shoes
Gucci shop
Gucci bags
Gucci shoes
Gucci ON sale
Gucci Belts
Gucci small accessories
Gucci hats & scarves
Gucci wallets
Gucci Handbags
women Gucci shoes
Men Gucci shoes

Anonymous said...

While not for everyday wear ,Is it an entirely new watch? Not really.
http://www.watchestoo.com
replica watches
rolex
rolex oyster perpetual datejust watch
rolex oyster perpetual datejust replica watch
rolex oyster perpetual datejust
rolex ladies datejust
rolex 18k
rolex stainless
CARTIER
OMEGA
OMEGA CONSTELLATION COLLECTION
OMEGA DE VILLE COLLECTION
OMEGA SEAMASTER COLLECTION
OMEGA SPECIALITIES COLLECTION