Hello I've tried both
rsync to copy resource from my machine to remote host.
I don't have a root access on a remote machine but I need to transfer big amount of files from my host to remote machine all located in different directories and doing this manually would just take really long time(it will take long time anyway).
This is what I've tried so far :
echo "password" | rsync -v -e myfile ssh user@remotehost:/home/user/destination
echo "password" | scp -r myfile user@remotehost:/home/user/destination
scp -r myfile user@remotehost:/home/user/destination <<EOF password EOF
But I still get that annoying prompt for password :
Any other suggestions that I try ?
My user on the local machine is not same as the one on the remote machine(the one on the remote machine doesn't exist on my machine).