Typo in 'uvt-kvm ssh guest' output

Bug #1667134 reported by Dave Kettmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
uvtool
Invalid
Undecided
Unassigned
uvtool (Ubuntu)
Invalid
Low
Eric Desrochers

Bug Description

When attempting to use 'uvt-kvm ssh' to ssh into a container, there is a typo in the message:

$ uvt-kvm ssh ls-test
uvt-kvm: error: ssh access with host key verification is not implemented. Use --insecure iff you trust your network path to the guest.

It looks like this appears twice in the source code both in the same file 'uvtool/libvirt/kvm.py'

Revision history for this message
Dave Kettmann (dkettman) wrote :

Diff in my local checkout of the repo:

$ git diff uvtool/libvirt/kvm.py
diff --git a/uvtool/libvirt/kvm.py b/uvtool/libvirt/kvm.py
index 5c52252..a6e3387 100755
--- a/uvtool/libvirt/kvm.py
+++ b/uvtool/libvirt/kvm.py
@@ -642,7 +642,7 @@ def main_ssh(parser, args, default_login_name='ubuntu'):
     except InsecureError:
         raise CLIError(
             "ssh public host key not found. " +
- "Use --insecure iff you trust your network path to the guest."
+ "Use --insecure if you trust your network path to the guest."
         )

@@ -667,7 +667,7 @@ def main_wait_remote(parser, args):
         except InsecureError:
             raise CLIError(
                 "ssh public host key not found. Use "
- "--insecure iff you trust your network path to the guest."
+ "--insecure if you trust your network path to the guest."
             )

Revision history for this message
Eric Desrochers (slashd) wrote :

Patch for devel release (Zesty(17.04)) is ready waiting for the change to be first apply upstream and then Zesty, ...

Changed in uvtool (Ubuntu):
importance: Undecided → Low
assignee: nobody → Eric Desrochers (slashd)
Revision history for this message
Jon Grimm (jgrimm) wrote : Re: [Bug 1667134] Re: Typo in 'uvt-kvm ssh guest' output

Not a specifically a typo, 'iff' is short-hand for 'if and only if', which
is I believe what the author intended as a strong warning or at least
awareness.

https://en.wikipedia.org/wiki/If_and_only_if

On Wed, Feb 22, 2017 at 4:07 PM, Eric Desrochers <
<email address hidden>> wrote:

> ** Also affects: uvtool (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to uvtool.
> https://bugs.launchpad.net/bugs/1667134
>
> Title:
> Typo in 'uvt-kvm ssh guest' output
>
> Status in uvtool:
> New
> Status in uvtool package in Ubuntu:
> New
>
> Bug description:
> When attempting to use 'uvt-kvm ssh' to ssh into a container, there is
> a typo in the message:
>
> $ uvt-kvm ssh ls-test
> uvt-kvm: error: ssh access with host key verification is not
> implemented. Use --insecure iff you trust your network path to the guest.
>
>
> It looks like this appears twice in the source code both in the same
> file 'uvtool/libvirt/kvm.py'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/uvtool/+bug/1667134/+subscriptions
>

--
Jon Grimm
Engineering Manager, Ubuntu Server
Canonical Ltd

Revision history for this message
Eric Desrochers (slashd) wrote :
Revision history for this message
Eric Desrochers (slashd) wrote :

Thanks Jon Grimm.

Changed in uvtool (Ubuntu):
status: New → Invalid
Changed in uvtool:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.