[Libvir] Re: [PATCH] add no_tty flag for ssh

Richard W.M. Jones rjones at redhat.com
Thu Sep 20 12:10:28 UTC 2007


Daniel P. Berrange wrote:
> The use of '-o PasswordAuthentication=no' isn't sufficient because even
> with pulic key / gssapi auth schemes it may prompt for passwords and/or
> passphrases.
> 
> I think we need to use  '-T -o BatchMode=yes', and regardless of the
> no_tty flag I think it could be wise to add '-e none'.

Yes, that's right.  Try this patch.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-notty-2.patch
Type: text/x-patch
Size: 3737 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070920/62ee7a7c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070920/62ee7a7c/attachment-0003.bin>


More information about the libvir-list mailing list