mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virnetsocket: Pass KRB5CCNAME env variable
So we can allow GSSAPI authentication for ssh. Signed-off-by: Matthias Witte <witte@netzquadrat.de>
This commit is contained in:
parent
c9b37fee25
commit
afc984af2e
1
AUTHORS
1
AUTHORS
@ -194,6 +194,7 @@ Patches have also been contributed by:
|
|||||||
Steve Hodgson <shodgson@solarflare.com>
|
Steve Hodgson <shodgson@solarflare.com>
|
||||||
Xu He Jie <xuhj@linux.vnet.ibm.com>
|
Xu He Jie <xuhj@linux.vnet.ibm.com>
|
||||||
Lei Li <lilei@linux.vnet.ibm.com>
|
Lei Li <lilei@linux.vnet.ibm.com>
|
||||||
|
Matthias Witte <witte@netzquadrat.de>
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
|
||||||
|
@ -615,6 +615,7 @@ int virNetSocketNewConnectSSH(const char *nodename,
|
|||||||
|
|
||||||
cmd = virCommandNew(binary ? binary : "ssh");
|
cmd = virCommandNew(binary ? binary : "ssh");
|
||||||
virCommandAddEnvPassCommon(cmd);
|
virCommandAddEnvPassCommon(cmd);
|
||||||
|
virCommandAddEnvPass(cmd, "KRB5CCNAME");
|
||||||
virCommandAddEnvPass(cmd, "SSH_AUTH_SOCK");
|
virCommandAddEnvPass(cmd, "SSH_AUTH_SOCK");
|
||||||
virCommandAddEnvPass(cmd, "SSH_ASKPASS");
|
virCommandAddEnvPass(cmd, "SSH_ASKPASS");
|
||||||
virCommandAddEnvPass(cmd, "DISPLAY");
|
virCommandAddEnvPass(cmd, "DISPLAY");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user