Differences
This shows you the differences between the selected revisions of the page.
2012-03-28 | 2012-09-05 | ||
language anchors (martin) | 5.0.9 SshHostKey => SshHostKeyFingerprint (martin) | ||
Line 70: | Line 70: | ||
UserName = "user", | UserName = "user", | ||
Password = "mypassword", | Password = "mypassword", | ||
- | SshHostKey = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | SshHostKeyFingerprint = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" |
}; | }; | ||
Line 163: | Line 163: | ||
.UserName = "user" | .UserName = "user" | ||
.Password = "mypassword" | .Password = "mypassword" | ||
- | .SshHostKey = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | .SshHostKeyFingerprint = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" |
End with | End with | ||
Line 286: | Line 286: | ||
$sessionOptions.UserName = "user" | $sessionOptions.UserName = "user" | ||
$sessionOptions.Password = "mypassword" | $sessionOptions.Password = "mypassword" | ||
- | $sessionOptions.SshHostKey = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | $sessionOptions.SshHostKeyFingerprint = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" |
$session = New-Object WinSCP.Session | $session = New-Object WinSCP.Session |