Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9184329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:01:15+00:00 2026-06-17T19:01:15+00:00

this might sound silly but I’m really stuck here… I want parallel-ssh to preform

  • 0

this might sound silly but I’m really stuck here…

I want parallel-ssh to preform operations on multiple hosts and I know I have to put their IPs in file hosts.txt, but where is this fabled hosts.txt file? Or if I have to create it, where? Because I keep getting this:

IOError: [Errno 2] No such file or directory: ‘hosts.txt’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:01:16+00:00Added an answer on June 17, 2026 at 7:01 pm

    You have to create it. one host per line.

    create a file called hosts.txt and in the contents have:

    host1.mydomain.com  
    host2.mydomain.com
    

    then you pass that file in as an option pssh -h hosts.txt ...

    That file can have any name really, so long as it’s a list of hostnames. You could save it as myhosts.txt, as an example.

    pssh -h myhosts.txt ...
    

    You can create this file where ever you like. If you are on a windows machine you can create it in c:\temp or on a *nix box in /tmp/ or where ever.

    then you can go:

    pssh -h c:\temp\hosts.txt or…
    pssh -h /tmp/hosts.txt or…
    pssh -h c:\temp\myhosts.txt

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might sound a silly question but I've really spend hours in trying to
I know this question might sound quite silly, but I somehow found myself stuck
This might sound silly, but I'd only want to display bars in a JfreeChart
This might sound like a stupid question but just trying to learn something here.
this might sound silly but since i am new to iPhone i wanted to
This might sound like a silly question but is there a manual or a
HI, this might sound like a silly question but.. i've created several types in
I know this might sound a silly question, but I did not find in
Ok, this might sound as a silly question, but I am a newbie without
This might sound like a silly question, but yesterday none of our sites would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.