Differences
This shows you the differences between the selected revisions of the page.
2009-10-04 | 2009-10-31 | ||
[[faq_connection_refused|FAQ]] (124.83.6.250) (hidden) | return_code_127: groups command (martin) (hidden) | ||
Line 5: | Line 5: | ||
===== [[host_key]] The server's host key was not found in the cache ===== | ===== [[host_key]] The server's host key was not found in the cache ===== | ||
This error message occurs when WinSCP connects to a new [[SSH]] server. Every server identifies itself by means of a host key; once WinSCP knows the host key for a server, it will be able to detect if a malicious attacker redirects your connection to another machine. | This error message occurs when WinSCP connects to a new [[SSH]] server. Every server identifies itself by means of a host key; once WinSCP knows the host key for a server, it will be able to detect if a malicious attacker redirects your connection to another machine. | ||
- | |||
- | |||
If you see this message, it means that WinSCP has not seen this host key before, and has no way of knowing whether it is correct or not. You should attempt to verify the host key by other means, such as asking the machine's administrator. | If you see this message, it means that WinSCP has not seen this host key before, and has no way of knowing whether it is correct or not. You should attempt to verify the host key by other means, such as asking the machine's administrator. | ||
Line 30: | Line 28: | ||
* You may need to connect through proxy server, but you have not specified one on [[ui_login_proxy|login dialog]]. | * You may need to connect through proxy server, but you have not specified one on [[ui_login_proxy|login dialog]]. | ||
* Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]]. | * Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]]. | ||
- | |||
- | |||
If you are trying to use WinSCP to connect to your iPhone or iPod Touch, please refer to [[faq_iphone|FAQ]]. | If you are trying to use WinSCP to connect to your iPhone or iPod Touch, please refer to [[faq_iphone|FAQ]]. | ||
Line 189: | Line 185: | ||
===== [[return_code_127]] Command failed with return code 127 (or 255) ===== | ===== [[return_code_127]] Command failed with return code 127 (or 255) ===== | ||
- | You will get the error with [[protocols#scp|SCP protocol]], if command necessary for facilitate operation you were trying to do does not exist on remote server or the shell cannot find it. Typically your get the error for ''scp'' command that is used to transfer files. | + | You will get the error with [[protocols#scp|SCP protocol]], if command necessary for facilitate operation you were trying to do does not exist on remote server or the shell cannot find it. |
- | + | ||
- | For example: if you are trying to connect to an [[http://openwrt.org|OpenWrt]] enabled router, which uses **ash shell**, you will get a //Command 'groups' failed with return code 127 and error message -ash: groups: not found//. In this case, you may disable **[[ui_login_scp#other_options|Environment >> SCP/Shell >> Lookup users groups]]** to avoid this error message. | + | |
If you are not an experienced Unix user, you should first try using [[protocols#sftp|SFTP protocol]] instead. | If you are not an experienced Unix user, you should first try using [[protocols#sftp|SFTP protocol]] instead. | ||
Line 198: | Line 192: | ||
You can also try to run the respective command from terminal (with the same account that you use with WinSCP), to verify that you can execute it. You may not have sufficient permissions, or the command dependencies may not be installed. | You can also try to run the respective command from terminal (with the same account that you use with WinSCP), to verify that you can execute it. You may not have sufficient permissions, or the command dependencies may not be installed. | ||
+ | |||
+ | Common situations, in which you may get the error: | ||
+ | * Transferring files fails, because path to ''scp'' command is not in ''PATH''; | ||
+ | * Error appears while logging in, because your *nix distribution lacks ''groups'' command. You can instruct WinSCP not to use the command in [[ui_login_scp#other_options|session settings]]. | ||
===== [[not_able_to_determine_application_started]] WinSCP was not able to determine application that was started to open the file. WinSCP cannot watch for changes in the file and thus it will not upload the changed file back ===== | ===== [[not_able_to_determine_application_started]] WinSCP was not able to determine application that was started to open the file. WinSCP cannot watch for changes in the file and thus it will not upload the changed file back ===== |