Re: scp -rp behavior(SOLVED)

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



On Sun, Mar 01, 2015 at 10:58:30AM -0600, Valeri Galtsev wrote:
> Why "slash": /.thunderbird in case of your example? Because if you do not
> specify absolute path beginning with / the ssh daemon prepends your
> relative path with its `pwd` it runs in, and its `pwd` is "/")

I'm not sure I understand what you're saying here...

Are you saying that if I run 'scp remotehost:.bashrc ." it will copy
/.bashrc from remotehost, regardless of whether my $HOME on remotehost
is /home/username ?

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux