PuTTY is a program that makes it possible to work on a remote Linux machine from a Windows PC computer.
You need two files, PuTTY.exe and psftp.exe. They can both be found and downloaded from the same site.
Use the terminal: PuTTY.exe is a program that makes Windows users establish a secure connection to Unix (and Linux) terminals, among other things.
Copy files to and from the terminal: psftp.exe is a program that makes it possible to copy files from victorio to your local machine and vice versa.
Go to the PuTTY Download Page. Download both PuTTY.exe and psftp.exe.
Doubleclick on the PuTTY.exe icon, and get a small box in return. The first time you use putty with a new terminal, the following, in this order:
Translation
in the category Window in the leftmost box.ISO-8859-1
, you should
open the list and choose UTF-8
Session
(the topmost node)SSH
Save
buttonOpen
.NOTE! There is a bug in the present PuTTY version: The Sami keyboard is able to write all characters, except č, ŋ and ŧ. All characters are displayed on the screen, though, and you can copy in the problematic čŋŧ.
On the PuTTY download page, doubleclick on the psftp.exe icon. Write "open gtlab.uit.no" (or your server name) at the prompt. Give your user name and password. To get the file file1.txt from the remote machine to your own machine, you write
get file1.txt file2.txt
(advice: Use a different filename for the file, so that you do not need to risk deleting your work if you use get instead of put etc.). To copy a file file3.txt which is on C:\Users\MyName from your PC to the remote machine , you write
put C:\Users\MyName\file3.txt file4.txt The command is get sourcefile resultfile
(and
the same for put). In order to copy e.g. the file
main/gt/sme/src/noun-sme-lex.txt to your own machine, write this command:
get gt/sme/src/noun-sme-lex.txt noun.txt
Note that psftp.exe makes it possible to use standard unix commands. Cf. the psftp.exe help file for a list of commands.
Remember: putty is a program for working on the remote computer, psftp is there for copying files to and fro.
The psftp.exe program cannot use the * notation when copying files, one must write the name of each file separately. The way of copying many files in one operation is to use putty.exe to lump them together in one archive file, and then use psftp.exe to move that file to your local machine, and unpack it there. The following command makes an archive files.zip of all files ending in .txt in the terminal:
zip files.zip *.txt
Then you must copy the files to your local machine. In order to do that, open a window in psftp.exe, and give the following command, just as described before (note that s.tar is so big that it might take some time to download it.):
get files.zip f.zip
The file files.zip may then be opened on your local Windows machine with the winzip program (or similarily).
Put all the files you want to use in a folder, say its name is filmappe. Right-click and choose
move to > a zipped archive
(Norwegian: Send til > Komprimert (zippet) mappe)
The resulting file is named filmappe.zip (even though the .zip is not displayed). Copy the file as before, in psftp.exe:
put filmappe.zip f.zip
In the terminal (in putty) you then open it by writing
unzip f.zip