Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with scp



Antony Stace wrote:

> Hi Folks
>
> I am trying to use scp to copy a file .  The scp program appears to
> work, but when I look for the file the file is not there.  If it is any
> help, ssh connections to/from hawera and noosa work fine.  Anyone know
> what might be going on?
>
> Cheers
>
> Tony
>
> [antony@example.com /tmp]$ ls -l testfile
> ls: testfile: No such file or directory
> [antony@example.com /tmp]$ scp -v antony@example.com:/tmp/testfile .
> Executing: program /usr/bin/ssh host noosa, user antony, command scp -v
> -f /tmp/testfile
> antony@example.com's password:
> --------------------------------------------------------------
> [antony@example.com /tmp]$ Sending file modes: C0644 16 testfile

Here you should get a status bar indicating the file transfer like this:
testfile      100% |*********************************| 999       00:00

I would look at the logs on the server ('noosa' in this case) for more
details. Its possible that scp is not in the default path on the server.
In any case there should be some output here.


>
> [antony@example.com /tmp]$ ls -l testfile
> ls: testfile: No such file or directory
> [antony@example.com /tmp]$
>
> -----------------------------------------------------------------------
> Next Nomikai Meeting:    Fri, June 15 19:30-  Tengu Tokyo Eki-Mae
> Next Technical Meeting:  Sat, July 14 13:30-
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links