Tuesday, September 18, 2007

Making Windows a Bit More Linux-like: PuTTY and PSCP

When I'm using a Windows machine, I often need to ssh into a linux box or copy files from a linux box to the Windows machine. Two utilities make this very easy. PuTTY provides a terminal window for ssh'ing into linux machines and PSCP is a Windows version of scp for secure copying. Both can be found here.

When you download them, each comes as a small executable. I tend to leave the PuTTY executable in the directory I downloaded it to and create a shortcut to it on the desktop. Whenever I want to use it, I just double-click the shortcut. I like to put the PSCP executable someplace in the computer's path. Then to use it, I just open an MS-DOS terminal, change to the directory I want to copy to and copy files over with the command:
pscp remote-linux-box-address:path-to-files .

There's documentation on how to use PuTTY and PSCP here. For PSCP you can also look at the man pages for scp since the usage is the same.

No comments: