Merge pull request #5604 from bluehaoran/patch-1
Update ssh.rb to detect PLink v0.64
This commit is contained in:
commit
98a23c5a5e
|
@ -83,7 +83,7 @@ module Vagrant
|
||||||
# underneath the covers. In this case, we tell the user.
|
# underneath the covers. In this case, we tell the user.
|
||||||
if Platform.windows?
|
if Platform.windows?
|
||||||
r = Subprocess.execute(ssh_path)
|
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,
|
raise Errors::SSHIsPuttyLink,
|
||||||
host: ssh_info[:host],
|
host: ssh_info[:host],
|
||||||
port: ssh_info[:port],
|
port: ssh_info[:port],
|
||||||
|
|
Loading…
Reference in New Issue