gavioto / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
1 stars 1 forks source link

Patch: pass -o SendEnv in a way that is friendly on Mac OS #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any pssh command
2.
3.

What is the expected output? What do you see instead?
Pssh reports that all ssh commands "Exited with error code 255"

What version of the product are you using? On what operating system?
2.3.1 (port install pssh) on Mac OS 10.8.3

$ ssh -V
OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011

Please provide any additional information below.
My Mac OS X ssh client would not take SendEnv formatted the way it was with 
PSSH_NODENUM and PSSH_HOST in the same -o SendEnv argument.  Splitting the two 
variables out like this made it happy and should be acceptable with any version 
of ssh.

I discovered the ssh command that pssh was running under the hood and found 
that it tried host verification.  I thought this was strange since I had added 
options to not verify hosts.

I played around with the options to ssh, I found that removing this -o SendEenv 
option was the key to getting ssh to stop doing this.  Ssh chokes on this 
option the way it is and stops parsing other arguments correctly.

Original issue reported on code.google.com by c...@ecbaldwin.net on 7 Jun 2013 at 5:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for tracking this down.

Original comment by amcna...@gmail.com on 7 Jun 2013 at 6:20