![Page 1: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/1.jpg)
Connecting to GMT machine via Windows 7
![Page 2: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/2.jpg)
Windows
PuTTy
GMT on Mac serverint-038.geosci.usyd.edu.au
To use GMT, you will connect to a Mac server via PuTTy in Windows.
PuTTy established a secure connection (SSH) to the computer on the network.
![Page 3: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/3.jpg)
Map Network Drive in Windows
1. Open “My Computer”2. Click “Map Network Drive”
![Page 4: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/4.jpg)
![Page 5: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/5.jpg)
Enter the following
• Drive letter: Any spare one
• Folder:
\\int-038.geosci.usyd.edu.au\Documents
• Tick “Login using different credentials”
![Page 6: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/6.jpg)
Login
• You will be prompted for a username and password, enter:
gmt-user
wel0veGMT (^=zero)
![Page 7: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/7.jpg)
Important:Create folder with your name!
![Page 8: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/8.jpg)
Create new folder
• Right click inside “Documents” window
• Select New > New Folder
• Use your full name
• This will be your workspace
![Page 9: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/9.jpg)
Edit your GMT script using NotePad ++
• All scripts should have the following in the first line:
#!/bin/bash
• Save script with “.sh” file extension
![Page 10: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/10.jpg)
![Page 11: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/11.jpg)
Run script via PuTTy
• Open PuTTy from Start Menu• In the Host Name, type in:
int-038.geosci.usyd.edu.au
• Leave everything else as is• Click Open to establish connection
![Page 12: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/12.jpg)
PuTTy
• First time you connect, the following screen will appear:
• Click YES
![Page 13: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/13.jpg)
PuTTy
• You will be prompted for your username and password gmt-user wel0veGMT
![Page 14: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/14.jpg)
Navigate to YOUR workspace
• In the Terminal window, type in
cd Documents/FirstnameLastname
and press Enter
e.g.
cd Documents/SabinZahirovic/(cd means change directory)
![Page 15: Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy](https://reader035.vdocument.in/reader035/viewer/2022062619/5517fce655034693228b4a94/html5/thumbnails/15.jpg)
Prepare and run your script• Type in “ls” and press Enter to list all your files
• Convert your script to UNIX-text file, type in
dos2unix YourFile.sh
• Give your script execute (+x) permissions
chmod +x YourFile.sh
• Run your script
./YourFile.sh
Super important!
If you do not do these steps, your script will not work.