SCP Problem

Lonni J Friedman netllama at gmail.com
Fri Oct 26 10:30:18 PDT 2007


On 10/26/07, Bill Campbell <linux-sxs at celestial.com> wrote:
> On Thu, Oct 25, 2007, Kurt Wall wrote:
> >On Fri, Oct 26, 2007 at 11:34:22AM +1000, james at jamesmcdonald.id.au wrote:
> >> > On Thu, Oct 25, 2007 at 03:37:56PM +1000, James McDonald wrote:
> >> >> Kurt Wall wrote:
> >> >>> Hola, list,
> >> >
> >> > [scp broken]
> >> >
> >> >> Does sftp work?
> >> >
> >> > Nope.
> >> >
> >> The reason I ask is that I'm curious if the entire scp / sftp subsytem is
> >> not configured/enabled on the remote box?
> >
> >I'm pretty sure it is because I can ssh to the remote box and then scp
> >files to and from it. I just can't use scp when the remote system is on
> >the other end of the transaction.
>
> Is it possible that scp is not in the PATH that ssh sees on the
> remote system?
>
> Try ``ssh remote which scp'' or perhaps ``ssh remote echo '$PATH' ''

Whenever I've seen that happen, scp fails outright, it doesn't hang.
But I guess its worth a try.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       https://netllama.linux-sxs.org



More information about the Linux-users mailing list