Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Unfortunately, we've had about three recent suggestions for changes to the 
hosts file format, and it simply won't be possible to accommodate them all.  
Currently you can specify the username and port separately for each host, as 
each line is of the form user@host:port.  Likewise, individual settings can be 
managed by ssh itself (man ssh_config for more details).  Are there any 
critical settings that can't be added using these two mechanisms for 
customization?

Thanks for your interest in using pssh and making it better.

Original comment by [email protected] on 17 Mar 2011 at 9:20

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Honestly,I didn't know about this ssh future.
All the options I nedd (user, key, port, compression) can be set in the 
ssh_config file so, for pssh, we could even leave the simple host file list.
Correct me If I'm wrong, but by ssh_config file, we can pass all the options of 
command line. 

On consideration. Watch this ssh_config example:
Host pippo
  User root
  Port 22
  Hostname 192.168.2.153

"pippo" is not a valid dns name. "ssh pippo" works fine because it uses 
"Hostname" option.
So, the pssh host file, should list the host 'pippo' and not '192.168.2.153'.

Or we use a convention: hostname/ip of the pssh host.txt file are the same ho 
"Host" declaration of ssh_config.

Last: in any case, we need a bit of documentation :-)

Original comment by [email protected] on 18 Mar 2011 at 7:34

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Indeed, giving pssh the same host as in the "Host" declaration of ssh_config 
works well, and it might be helpful to add this to the examples section of the 
man page.  And again, if it's just user and port that need to be specified, 
pssh already allows these in the hosts file, so ssh_config would normally be 
for extra options like compression.

Original comment by [email protected] on 18 Mar 2011 at 3:22

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I just added a TIPS section to the man page with a brief description of 
ssh_config.  I'll close this issue for now, but please feel free to reopen it 
if you have any additional thoughts.  Thanks.

Original comment by [email protected] on 23 May 2011 at 6:49

  • Changed state: Done

from parallel-ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.