Thank you to all who replied, now I found my probem, here's my
workaround,
I'd like to copy my file from remote host(orion) and I spawn a
command
$scp myscreen.jpg jimmy@orion:/home/jimmy/myscreen.jpg
and the error appears
upon looking at the global variables of my profile I found out some
wrong entry at my .bashrc at remote host
(jimmy@orion~/.bashrc). I just modified the .bashrc and spawn again the
command and it worked
jimmy@orion's password:
myscreen.jpg 100% |*****************************| 1707 00:00
Jimmy Lim
Operation & Support Team Leader
Tricom
"Carla P. Quiblat" wrote:
> maybe you mean:
>
> % scp jimmy@orion:/home/jimmy/myscreen.jpg .
>
> so that it will prompt you for jimmy's password/passphrase in
> orion.
>
> or equivalently;
>
> % scp jimmy@_orion_ip_address:/home/jimmy/myscreen.jpg .
>
> On Thu, 30 Aug 2001, Rino Mardo wrote:
>
> > you're syntax is wrong. man scp for the correct syntax.
> >
> > ----- Original Message -----
> > From: Jimmy <[EMAIL PROTECTED]>
> > To: PLUG <[EMAIL PROTECTED]>
> > Sent: Thursday, August 30, 2001 4:33 PM
> > Subject: [plug] scp question
> >
> > > I'm trying to scp the remote host and I got this error....
> > >
> > > %scp orion:/home/jimmy/myscreen.jpg ./myscreen.jpg
> > > protocol error: unexpected <newline>
> > > stderr is not a tty -where are you?
> > >
> > > What could be the problem?
> > >
> > >
> > > TIA
> > >
> > > Jimmy Lim
> > > Operation & Support Team Leader
> > > Tricom
> > >
> > > _
> > > Philippine Linux Users Group. Web site and archives at
> > http://plug.linux.org.ph
> > > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> > >
> > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to
> > [EMAIL PROTECTED]
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > _
> > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> >
> > To subscribe to the Linux Newbies' List: send "subscribe" in the body to
>[EMAIL PROTECTED]
> >
>
> --------------------------------------------------------------------------
>
> Love is staying up all night with a sick child, or a healthy adult.
>
> Carla Gabriela P. Quiblat
> [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]