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:
parent
27599ee897
commit
0962a2d151
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue