I am using secure copy to copy some data from a server to a folder (let's say: scp [email protected]:/project1/data/ data1/
).
My question is if it is possible to save the address of the server (in the example [email protected]:/project1/
) to a shorter form, like an alias, and use it instead of the full name.
For example, I'd like to save the address as "prj1" and use the command scp prj1/data data1/
to make the same thing.
Unfortunately, alias, and ls -s
don't work.
Is it possible?
Thanks