Topic "Cannot connect via SCP and command shell - via GUI it works"

Author Message
Shiggysteve

Guest


Hi

I have the problem that I cannot connect to a device via the command shell.

in windows i open a command shell

winscp ENTER
open 168.10.1.61@root
I enter the correct password and then I usually get an error message:

Connection has been unexpectedly closes ...... Exit Status 127

When I turn on the logging everything is OK except for following line:

Using SFTP protocol (how do i tell it should use SCP)
and then following error is written there:

sh: /usr/libexec/sftp-server: not found

Please help
THx

Br
Stefan
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a full log file showing the problem both for GUI and scripting session (using the latest version of WinSCP).
_________________
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