I need to transfer multiple folders from my server to my pc. I'm currently using a command like:
pscp -r user@ServerIP:/public_html/folderA "C:\folderA" && pscp -r user@ServerIP:/public_html/folderB "C:\folderB"
The problem is that the above command is handled as 2 separate commands, requiring me to type the server password twice (once before the folderA command is executed and once before the folderB command is executed).
Is it possible to merge the commands in such a way, that the password is only required once?