[CentOS] scp -rp behavior(SOLVED)
Jonathan Billings
billings at negate.org
Sun Mar 1 17:08:22 UTC 2015
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 at negate.org>
More information about the CentOS
mailing list