Differences
This shows you the differences between the selected revisions of the page.
2014-02-28 | 2014-03-03 | ||
using Session.EscapeFileMask (martin) | key size should be 2048 bit at least nowadays (martin) | ||
Line 45: | Line 45: | ||
$sessionOptions.UserName = "user" | $sessionOptions.UserName = "user" | ||
$sessionOptions.Password = "mypassword" | $sessionOptions.Password = "mypassword" | ||
- | $sessionOptions.SshHostKeyFingerprint = "ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | $sessionOptions.SshHostKeyFingerprint = "ssh-rsa 2048 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 |