On 12/02/2010 07:04 AM, Kamil Paral wrote:
Today I discovered that I cannot use 'scp' to transfer files
when the remote
site has only 'openssh-server' package installed. I can ssh to it, but I
can't scp to it. I spits this error message:
...
Is this really expected, or is it a bug?
It is expected. Scp is a client/server
application, i.e., the same
program is used for the client and server end of the scp protocol.
That's why scp needs to be available on the server.
If you want to be able to transfer files with a server without scp
installed on it, you can configure sshd on the server to use the
internal-sftp subsystem for servicing sftp requests, and then use the
sftp client to transfer files to/from the server.
jik