scp

Robert Dege rdege at cse.Buffalo.EDU
Wed Jun 5 00:50:39 EDT 2002


That seems odd.  I've done scp between machines before while in a
ssh session without incurring the I/O error.  What version of ssh are you
using?  Or perhaps a better question.... is it openssh, or some other variant?

-Rob


> Ok, found out what the problem was (besides being a little out of it
> from time to time), The problem was, I was trying to scp WHILE inside of
> an ssh session. I didn't realize that scp ran on it's own, I thought it
> was something to be used WITH ssh. Thanks for the help, it now works
> great!
> On Tue, 2002-06-04 at 14:40, Robert Dege wrote:
>
>     Well, let's start with a few simpler basics.
>
>     Can you correctly ssh to the machine?
>
>     Can you scp a single file to /tmp?
>
>     can you ftp multiple files to /home/peter (pending ftp daemon)?
>
>     -Rob
>
>     > I did the absolute path the second time, did the same thing
>     > On Tue, 2002-06-04 at 12:01, Joe Bielli wrote:
>     >
>     >     I would definitely try the absolute path..
>     >
>     >
>     >
>     >     scp user at host:/home/user/Sent* /home/localuser
>     >
>     >
>     >
>     >     works for me
>     >
>     >
>     >
>     >     Joe
>     >
>     >     -----Original Message-----
>     >     From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf
>     >     Of Cyber Source
>     >     Sent: Tuesday, June 04, 2002 11:46 AM
>     >     To: nflug at nflug.org
>     >     Subject: Re: scp
>     >
>     >
>     >
>     >     I have plenty of space too (point b)
>     >     On Tue, 2002-06-04 at 11:30, Robert Dege wrote:
>     >
>     >
>     >     > "scp -v peter at ns1:Sent* /home/peter"
>     >     > This said that the file was transferred 100% but then gives me the
>     >     > input/output error and does not transfer the file. I am under the
>     >     > believe that the above command is saying to transfer the file "Sent*" on
>     >     > ns1 (logged into with ssh) and authenticates the user peter (which it
>     >     > does), then will copy that file to my local /home/peter.
>     >     > Any ideas?
>     >
>     >     well, a few things to consider:
>     >
>     >     a) use the absolute path instead of just 'Sent*'
>     >     b) `df -k` to make sure that /home/peter has the space to hold the files
>     >     c) permissions.  Do you have write permissions on /home/peter ?
>     >
>     >     In other words, the I/O error might be outside the scope of scp.
>     >
>     >     Dege
>     >
>     >     So Many Things in Life Would Be Really Funny
>     >     .... If They Weren't Happening To Me
>     >
>     >
>     >
>     >
>
>
>
>     Dege
>
>     So Many Things in Life Would Be Really Funny
>     .... If They Weren't Happening To Me
>
>
>



Dege

So Many Things in Life Would Be Really Funny
.... If They Weren't Happening To Me




More information about the nflug mailing list