scp requires openssh-clients on server machine?

Jonathan Kamens jik at kamens.us
Thu Dec 2 12:57:22 UTC 2010


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5495 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20101202/87686ba2/attachment.bin 


More information about the test mailing list