When I try to copy files between two hosts, of which the second is identified by an alias:
scp host:foo alias:
scp tries to resolve
alias by looking into
host:.ssh/config and not my local
~/.ssh/config -- in other words, as if I've ssh-ed to
host and then executed
scp foo alias:.
Of course, this fails if I do not have the alias
alias defined on
host. Is this the intended behavior?
Running Ubuntu 13.04.