You can do it directly in your VM. Just type "psql" hit enter and the terminal should open. Then you can follow the instructions on the manual.
If you type psql and get some error like "libpq.so.5 not found", try:
- source /usr/local/greenplum-db/greenplum_path.sh
Then, psql should work.
If you want to access via putty, you should first identify the VM guest IP, and then use it on putty. You can do it running"ifconfig" in your VM, it will list all ips and interfaces.
Then you use the correct IP in putty, and it should work, Putty may also ask for a valid public key, you can search the internet on how to configure ssh public keys for putty.
You can also install PGADMIN4, and configure the access to the Greenplum of your VM. Remember to chek pg_hba.conf to give permission to your host IP.
Hope that helps anyone.
Cheers