[libvirt] [PATCH]: don't hardcode default port 22 for ssh protocol

Guido Günther agx at sigxcpu.org
Fri Jan 30 20:53:54 UTC 2009


Hi,
attached patch removes the hardcoded port 22 when going through ssh, ssh
uses it by default. This makes it easier to override this via
.ssh/config on a per host basis instead of having to add this to the
connection URI explicitly.

While at that I cleaned up some free vs. VIR_FREE usage and replaced
pointer intializations with 0 by NULL.
Cheers,
 -- Guido

P.S.: this originated from Debian Bug #513605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-don-t-hardcode-ssh-port-to-22.patch
Type: text/x-diff
Size: 3594 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090130/f4cfb9c3/attachment-0001.bin>


More information about the libvir-list mailing list