2014/06/25

Downloading remote file to local windows machine via pscp through different SSH port

The title says it all:

If you want to download a file from a remote server which needs to be accessed via SSH through a different port (other than standard pot 22), then you can use pscp.exe file that comes with Putty full bundle.

Example:
Go to the folder where pscp.exe is located, and open Windows command prompt. Then issue the appropriate command. Here's an example:

pscp - R 23 user@remote.server.ip:/home/file-location c:\Users\LocalFolder

Here, 23 is the SSH port on your remote server.


No comments:

Post a Comment