Differences
This shows you the differences between the selected revisions of the page.
2012-08-02 | 2012-09-05 | ||
smoothed the writing a bit (70.171.82.187) | 5.0.9 HostKeyFingerprint => SshHostKeyFingerprint (martin) | ||
Line 65: | Line 65: | ||
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 120: | Line 120: | ||
.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 170: | Line 170: | ||
$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 |