I want to copy files from remote Linux server to my machine via some script which I can run in my machine. I am trying with pscp command but it is showing me network error.
PS C:\Users\Administrator> pscp -pw password root@ipaddress:/var/log/messages \C:\Users\Administrator\Desktop
ssh_init: Network error: Cannot assign requested address
Can anyone suggest what could be a possible error? also if any other alternative available for the same?