By using ./ before the directory/filename it worked. Is it expected?
Regards, 2007/11/26, Gilles Chehade <[EMAIL PROTECTED]>: > > On Mon, Nov 26, 2007 at 07:24:09PM -0200, Eduardo Alvarenga wrote: > > Hi there, > > > > [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL > > PROTECTED] > :/u02/snap > > ssh: 127.0.0.1-2007-11-26-18: Name or service not known > > > > 127.0.0.1-2007-11-26-18:31 is a directory > > > > It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 > is a > > directory. > > Can anyone help? > > > > This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4 > > > > > > Regards, > > > > It is not the 127.0.0.1 part that is not recognized, it is the fact that > parameters which contain ':' are assumed to be of the form 'host:file'. > In this case, it is trying to scp the file '31' from host > 127.0.0.1-2007-11-26-18 > -- Eduardo Alvarenga