0

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?

Abhishek
  • 1
  • 1

1 Answers1

0
pscp -P 22 -pw <password> root@ipaddress:/var/log/messages
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103