Topic "Command failed with return code 127."

Author Message
Federico

Guest


Hi,
I can connect from my win 2000 client to Linux (redhat) and Solaris without any problems using ssh2 and AES. On Solaris any operation is file (copy, delete, browse).
On Linux instead, when I try to drag a file to my windows desktop I get this:

"Command failed with return code 127."
"cannot copy file: cannot read from the source file or disk"

The remote files belong to the same user I log in.. so I do not understand. I checked the file permissions and they are fine. Any idea??
Advertisements
mastermind

Guest


I also encountered a similar error trying to transfer remote files from Solaris 2.6 running SSH2 to my local Windows 2000 laptop - error messages = Command failed with return code 255. / Cannot copy file: Cannot read from the source file or disk.
Looks like all permissions are 777 inside /tmp on these files and cannot figure out what's wrong with my configuration. Any ideas / pointers / help would be great.

Thanks,
Toby

Federico wrote:
Hi,
I can connect from my win 2000 client to Linux (redhat) and Solaris without any problems using ssh2 and AES. On Solaris any operation is file (copy, delete, browse).
On Linux instead, when I try to drag a file to my windows desktop I get this:

"Command failed with return code 127."
"cannot copy file: cannot read from the source file or disk"

The remote files belong to the same user I log in.. so I do not understand. I checked the file permissions and they are fine. Any idea??
jsragman

Guest


On my RH9 box, the problem was that I did not have the openssh-clients package installed.

Federico wrote:
Hi,
I can connect from my win 2000 client to Linux (redhat) and Solaris without any problems using ssh2 and AES. On Solaris any operation is file (copy, delete, browse).
On Linux instead, when I try to drag a file to my windows desktop I get this:

"Command failed with return code 127."
"cannot copy file: cannot read from the source file or disk"

The remote files belong to the same user I log in.. so I do not understand. I checked the file permissions and they are fine. Any idea??
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18447
Location: Prague, Czech republic
jsragman wrote:
On my RH9 box, the problem was that I did not have the openssh-clients package installed.

Yes, this is usually the reason for these types of errors.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License