I am very new to google cloud and putty. My question is when I open putty on my computer and type in the EXTERNAL IP into putty. I screen opens up and asks me for a Login.. my question is what do i put in for my login. Is it the google username account ? a better question would be where can I find the login and password that I need to login to VM
Select Metadata under Settings. Once the page opens click on EDIT and then select ADD ITEM and enter the value. Then click on SAVE. Now go to your Local machine and in terminal use the ssh command along with your private SSH key file, the username, and the external IP address of the instance to connect.
The current gcloud cloud-shell command group offering provides the following functionality: Establishing an interactive SSH session with Cloud Shell using gcloud cloud-shell ssh . Copy files between your local and Cloud Shell machine via scp. Mount your Cloud Shell directory to your local file system via sshfs.
Here's some info on how to get you started. You shouldn't have to enter a login password. If you really want to, first connect via SSH keys and then use root privileges to change the password for the account to what ever you want.
You have a few different options, I'm just going to mention a few. To get into your GCE instance, you're going to need SSH keys setup and your client (Putty) configured to use them.
First option: SSH straight from the browser. This way you can skip the setup, but it's probably best to get your Putty properly configured.
Second option: Configure your SSH keys and Putty to SSH to GCE instances:
Once you have your keys added to the Dev Console, setup Putty like this:
[username]@[external_IP]
, where username will be the same as the one used to create your SSH keys. In summary, the comment at the end of your SSH key.You should now be good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With