parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh GSSAPI authentication issue


From: Ole Tange
Subject: Re: ssh GSSAPI authentication issue
Date: Sun, 9 Apr 2017 01:57:49 +0200

On Sat, Apr 8, 2017 at 9:56 PM, Joe Sapp <sappj@ieee.org> wrote:
:
> I haven't been able to reproduce in a VirtualBox yet, but I did some
> more testing.  It appears that an environment variable is not being
> passed on completely.
>
> This will now work:
>   seq 10 | parallel --ssh "env KRB5CCNAME=${KRB5CCNAME} ssh -vvv"
> --sshlogin :,$SERVER --load 75% echo

Is KRB5CCNAME exported?

Try:

parallel echo '${}' ::: KRB5CCNAME
export KRB5CCNAME
parallel echo '${}' ::: KRB5CCNAME
seq 10 | parallel --sshlogin :,$SERVER --load 75% echo

If KRB5CCNAME is needed for ssh, then if it is not exported that would
explain all you see.

Variables transferred using env_parallel are not set when ssh starts.
They are being set on the remote system after ssh has logged in, so if
ssh needs some variables they will have to be exported.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]