Differences
This shows you the differences between the selected revisions of the page.
2014-02-05 | 2014-03-03 | ||
session url should end with slash (martin) | key size should be 2048 bit at least nowadays (martin) | ||
Line 29: | Line 29: | ||
===== Examples ===== | ===== Examples ===== | ||
<code winscp> | <code winscp> | ||
- | open sftp://martin:mypassword@example.com/ -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | open sftp://martin:mypassword@example.com/ -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" |
open scp://test@example.com:2222/ -privatekey=mykey.ppk | open scp://test@example.com:2222/ -privatekey=mykey.ppk | ||
open ftps://martin@example.com/ -implicit -certificate="xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | open ftps://martin@example.com/ -implicit -certificate="xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | ||
Line 59: | Line 59: | ||
<code winscp> | <code winscp> | ||
- | open sftp://martin:mypassword@example.com/ -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | open sftp://martin:mypassword@example.com/ -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" |
</code> | </code> | ||
Line 72: | Line 72: | ||
$sessionOptions.Password = "mypassword" | $sessionOptions.Password = "mypassword" | ||
# -hostkey | # -hostkey | ||
- | $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 |