[scponly] Help me understand why the // syntax is useful ...

Arone Silimantia aronesimi at yahoo.com
Thu Feb 1 01:12:10 EST 2007


--- Kaleb Pederson <kibab at icehouse.net> wrote:

> It sounds like you have everything setup mostly
> correct.  Can you let us know 
> what you used for your configure options.  Also,
> could you post the debug 
> syslog output (see the FAQ if necessary for
> information on how to enable it).
> 
> One note:
> 
> scp file user at host:/
> 
> The above will try to copy it to the root (/)
> directory.  You probably want:
> 
> scp file user at host:
> 
> To go to the default location.


Hmmm... ok, when I use a notation without the slash,
as you suggest, I am indeed able to scp a file without
indicating a directory.  It does just go into the
"default" location.

However, I would like to _also_ omit stating a
directory on remotely executed ssh commands, like ls
and rm:

ssh user at host ls -asl /

fails ...

But now I see that:

ssh user at host ls -asl

actually works ... so it is your contention that all
is well, and I was just using a / when I didn't need
one ?

I guess the question now is, what is simpler and more
intuitive - specifying :/user, or specifying nothing ?


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 



More information about the scponly mailing list