Is it possible to write a bash script, that
would be started from machine A, logs in on a different machine B by ssh (both machines A and B would be Linux-Machines),
copys some files on to machine B
I need to copy some files from multiple local directories to multiple remote directories.
scp -v /file/source1/* username@host_server:/file/destination1
scp -v /file/source2/* username@...
Probably it is a weird thing I would like to achieve but:
I would like to SSH to a remote host and then execute some bash commands like "alias" automatically to use them afterwards in an interactive ...