Hacker News new | past | comments | ask | show | jobs | submit login

Can teleport run the same command on a group of servers, then collect the output and prefix it with the name of the server it came from? For example we could run a "df" on a batch of servers and see if they have enough free space, all in one line.




sure, you can execute commands via SSH on multiple nodes using labels as a selector.

> tsh --proxy=work ssh os=linux df

also, as mikeokner noticed, if you already using ansible, ansible-shell should work out of the box as well.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: