scp (openssh) command accepts relative paths as
host:path/ which are relative to the home directory on the host. I would like to change location of the default directory.
For example, I would like to create a shortcure pseudo-host in
.ssh/config along the lines of
Host bar hostName foo ## this directive does not actually exist: DefaultDirectory /home/me/some/path/here
so that I could write
scp some_file bar:baz
scp some_file foo:some/path/here/baz
Is it possible with openssh?