Re: scp requires openssh-clients on server machine?

2010-12-02 Thread Jonathan Kamens
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




smime.p7s
Description: S/MIME Cryptographic Signature
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

scp requires openssh-clients on server machine?

2010-12-02 Thread Kamil Paral
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:

bash: scp: command not found
lost connection

When I install 'openssh-clients' package on the remote site, I can now
scp to it.

Is this really expected, or is it a bug?
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test