Pages

Tuesday, November 23, 2010

Running commands on multiple boxes via ssh

ssh -jobs 1 -continue_on_error -h mybox[1-2].box.com -- 'hostname;ls -l ~/'

This will run the 'hostname;ls -l ~/'

command on all boxes with names mybox1.box.com and mybox2.box.com

9 comments:

noisyobserver said...

shit doesnt work you retard. dont put up stuff that doesnt work and fool the internet

BENNY WIRAATMAJA said...

hi... please akses my blog...

http://collection-computer-news.blogspot.com/

and

http://computervirusvirus.blogspot.com/

thanks you very much...

mark polo said...

he nice one i like it
seo india

Rohit Mehta said...

beautiful blog ever designed :- http://aninnocentlove.blogspot.com/

CCTVkarachi said...

This is not the first of your posts I've read, and you never cease to amaze me. Thank you, and I look forward to reading more.

security equipment

Malenadu said...

Did not understand a thing. Please be precise for what are you posting and why is it required. Thank you for sharing. Please visit my blog and do follow it.

http://malenadugroup.blogspot.com/

ken said...

援交友網站戀愛外約情人網您直撥專線電話聯繫,請先說明您看到網站來的台北外送茶首先您要給我您的電話及怎樣稱呼台中外送茶服務地區服務範圍高雄外送茶

ken said...

汽車借款幫助您解決借錢週轉無門的困擾,隱密性高內湖區機車借款時尚精品皮包借貸,不想看人眼色又怕高利貸松山區汽車免留車,創業貸款個人信貸新莊區當舖大額資金周轉,快速保密不求人板橋當舖,改善金錢關係,讓危機變商機大安區汽車借款全程保密免留車南港區汽車借款

Dude dude said...

Great website, thanks for putting this together.I want to share Uverse coupon