If I am working in a terminal that is currently SSH
logged in to a remote server user@node
, and I want to transfer a file from local to that same server, I will run:
scp you@your_local_machine:/home/you/"FileName.csv" user@node:"~/folder"
It'll then ask for my local machine's login password. This is fine, but is there a way that I can modify the above scp
call to automatically enter my password to the terminal instead of needing to type it in manually?