Differences
This shows you the differences between the selected revisions of the page.
ssh_verifying_the_host_key 2016-03-16 | ssh_verifying_the_host_key 2024-09-03 (current) | ||
Line 14: | Line 14: | ||
However, when you connect to a server for the first time, WinSCP has no way of telling whether the host key is the right one or not. So it gives the warning shown above, and asks you whether you want to trust this host key or not. | However, when you connect to a server for the first time, WinSCP has no way of telling whether the host key is the right one or not. So it gives the warning shown above, and asks you whether you want to trust this host key or not. | ||
- | Whether or not to trust the host key is your choice. If you are connecting within a company network, you might feel that all the network users are on the same side and spoofing attacks are unlikely, so you might choose to trust the key without checking it. If you are connecting across a hostile network (such as the Internet), you should check with your system administrator, perhaps by telephone or in person. (Some modern servers have more than one host key. If the system administrator sends you more than one fingerprint, you should make sure the one WinSCP shows you is on the list, but it doesn't matter which one it is.) ((&puttydoccite)) | + | Whether or not to trust the host key is your choice. If you are connecting within a company network, you might feel that all the network users are on the same side and spoofing attacks are unlikely, so you might choose to trust the key without checking it. If you are connecting across a hostile network (such as the Internet), you should check with your system administrator, perhaps by telephone or in person. (When verifying the fingerprint, be careful with letters and numbers that can be confused with each other: ''0''/''O'', ''1''/''I''/''l'', and so on.) |
+ | |||
+ | Many servers have more than one host key. If the system administrator sends you more than one fingerprint, you should make sure the one WinSCP shows you is on the list, but it doesn't matter which one it is.((&puttydoccite)) See, what are other ways to [[faq_hostkey|obtaining host key fingerprint]]. | ||
[[administration|System administrator can restrict]] connection to server without having their host keys accepted in advance. | [[administration|System administrator can restrict]] connection to server without having their host keys accepted in advance. | ||
Line 26: | Line 28: | ||
~~AD~~ | ~~AD~~ | ||
- | ===== Automating Host Key Verification ===== | + | ===== [[automation]] Automating Host Key Verification ===== |
Learn how to [[scripting#hostkey|accept host key automatically in script]]. | Learn how to [[scripting#hostkey|accept host key automatically in script]]. |