Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PuTTY pscp command and the -scp option

1,116 views
Skip to first unread message

reve...@globalit.us.com

unread,
Aug 2, 2012, 2:41:38 PM8/2/12
to
Anyone have an idea why on windows 2008 if you run the PuTTY pscp command with the -scp option it would come back with the following error:

rbash: scp: command not found

I have PuTTY and all the parts, putty, pscp..., all in my path. And PuTTY itself works fine, I just can get pscp with the -scp option to work.

Thanks all!!!

Jacob Nevins

unread,
Aug 3, 2012, 4:50:19 AM8/3/12
to
That error message is likely coming from the remote server.

The scp "protocol" involves sending a command to the remote server like
"scp -f src" or "scp -t target", and assuming the remote server has an
"scp" command on the path (or behaves like a Unix server which does).

I guess your server doesn't have such an "scp" command.

Owen Dunn

unread,
Aug 3, 2012, 4:53:10 AM8/3/12
to
reve...@globalit.us.com writes:

> Anyone have an idea why on windows 2008 if you run the PuTTY pscp
> command with the -scp option it would come back with the following
> error:
>
> rbash: scp: command not found

That's a message from the remote server which you're connecting to.
SCP clients like pscp connect to the remote server and run `scp' on
the other end to get files. In your case it looks like your server
administrator has restricted the configuration on the server so that
you can't run the `scp' command.

In general you're usually better using the SFTP protocol anyway, which
is what pscp will try to do by default if you don't give it the -scp
option.

(S)
0 new messages