[Libvir] [PATCH] add no_tty flag for ssh

Daniel P. Berrange berrange at redhat.com
Thu Sep 13 22:24:16 UTC 2007


On Wed, Sep 12, 2007 at 11:23:58AM +0100, Richard W.M. Jones wrote:
> Richard W.M. Jones wrote:
> >This patch adds an extra no_tty=1 flag to the connection URI.  This 
> >stops ssh from asking for a password if it can't log in automatically. 
> >Typical use-case for this is in graphical programs where if ssh asks for 
> >a password it would cause the GUI program to hang.
> 
> I should have added that it is perfectly safe for GUI programs to always 
> add ?no_tty=1 (or &no_tty=1) to the end of URIs.  In the non-ssh case it 
> is ignored.

ACK, fine by me & would make it nicer for virt-manager, as well as for
people scripting the CLI tools.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list