GithubHelp home page GithubHelp logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
[deleted comment]

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
Thanks for opening this request. I can't think of any reason not to leave
-l%u off the default ssh args now that the code adds it when necessary
(i.e. when ruser != luser)

Can you try the attached patch?

Original comment by [email protected] on 4 Oct 2011 at 10:30

Attachments:

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
Hi,

I applied the patch on the (clean) source, and recompiled the code. Now it 
works as described above. 

I tested the following cases:

1. ruser != luser but ruser defined in ssh config
Works well.

2. ruser != luser but ruser NOT defined in ssh config
Works as expected. Explicit -l is needed at pdsh command line to log in.

3. ruser != luser but ruser defined in ssh config, AND overriding it with pdsh 
-l option
Works as expected, pdsh's -l overrides ssh config. Without the explicit pdsh -l 
it reads the username from the ssh config.

4. Putting back the -l%u in the PDSH_SSH_ARGS environment variable brings back 
the old behaviour of handling the username.

Is there any possibility to apply this patch on the future releases? Let's say 
2.28 ;)

Regards,

Vish

Original comment by [email protected] on 5 Oct 2011 at 9:09

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
Hi,

in addition:

5. Tested using dshgroups modules, with -g option.

Original comment by [email protected] on 5 Oct 2011 at 9:11

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
Yes, I plan to add this to pdsh-2.28

Original comment by [email protected] on 5 Oct 2011 at 8:41

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
This issue was updated by revision aabc5bff1a77.


The -l%u argument to ssh is now added when remote username is
different from local username, so it no longer needs to be
in the default argument list.

Original comment by [email protected] on 19 Oct 2011 at 5:41

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024

Original comment by [email protected] on 2 Nov 2011 at 11:07

  • Changed state: Fixed

from pdsh.

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.