Update ssh.rb to detect PLink v0.64

PLink 0.64 (released 28-2-2015) changes the command-line description, so the previous text-match no longer works.
This commit is contained in:
Haz 2015-04-17 12:34:40 +10:00
parent 27599ee897
commit 0962a2d151
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ module Vagrant
# underneath the covers. In this case, we tell the user.
if Platform.windows?
r = Subprocess.execute(ssh_path)
if r.stdout.include?("PuTTY Link")
if r.stdout.include?("PuTTY Link") || r.stdout.include?("Plink: command-line connection utility")
raise Errors::SSHIsPuttyLink,
host: ssh_info[:host],
port: ssh_info[:port],