腻子谷歌云计算 [英] Putty Google Cloud compute

查看:224
本文介绍了腻子谷歌云计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对谷歌云和腻子很陌生。
我的问题是当我打开腻子在我的电脑上并输入外部IP到腻子。我的屏幕打开,并要求我登录..我的问题是我为我的登录。它是谷歌用户名帐户?更好的问题是我在哪里可以找到我需要登录到VM的登录名和密码

让你开始。您不必输入登录密码。如果您真的想要,首先通过SSH密钥连接,然后使用root权限将帐户的密码更改为您想要的密码。



您有几个不同的选项,我只想提一下。为了进入你的GCE实例,你将需要SSH密钥设置和你的客户端(Putty)配置来使用它们。



第一个选项:直接从浏览器进行SSH操作。第二种方法:将你的SSH密钥和Putty配置为SSH到GCE实例:

第二个选项:配置你的SSH密钥和Putty到SSH到GCE实例:

/ p>


  1. 按照本文(Linux / OSX)本文(Windows)创建SSH密钥并将其添加到项目的
    元数据中。

  2. 将您的密钥添加到开发控制台之后,设置Putty就像下面这样:


    • 打开Putty

    • 在主机名字段中输入 [用户名] @ [external_IP] ,其中用户名将相同就像用来创建SSH密钥的那个一样。总之,注释在SSH密钥的最后。

    • 在Putty的左边,展开'SSH'部分并点击'Auth'。

    • 点击'浏览'并选择您之前创建的私人SSH密钥。

    • 点击左侧的'会话',然后'打开'连接。 >

您现在应该很好。


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

解决方案

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:

  1. Follow this article(Linux/OSX) or this article(Windows) to create and add your SSH keys to the metadata for your Project.
  2. Once you have your keys added to the Dev Console, setup Putty like this:

    • Open Putty
    • In the 'Host Name' field enter [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.
    • In Putty, on the left, expand the 'SSH' section and click 'Auth'.
    • Click on 'Browse' and select the private SSH key you created earlier.
    • Click back on 'Session' on the left, and 'Open' the connection.

You should now be good to go.

这篇关于腻子谷歌云计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆