Differences

This shows you the differences between the selected revisions of the page.

2009-07-17 2009-09-05
reset_by_peer (martin) OpenWrt - groups error due to ash shell (Adrian Nicolaiev)
Line 185: 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. Typically your get the error for ''scp'' command that is used to transfer files.
 +
 +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 **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.