I have a file which contains host info, one host one line
host1
host2
host3
what I want to do is
ssh host1 'my command'
ssh host2 'my command'
ssh host3 'my command'
how can I use one line command to implement it (not complex shell script), thanks