[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThis document outlines how to connect to Compute Engine virtual machines (VMs) using their internal IP addresses, particularly useful when VMs are isolated from external networks.\u003c/p\u003e\n"],["\u003cp\u003eConnecting via internal IP is an alternative to using an external IP address, for which separate instructions are available.\u003c/p\u003e\n"],["\u003cp\u003eSSH tunneling with Identity-Aware Proxy (IAP) is recommended when external IP access to VMs is restricted and is compatible with bastion hosts and VMs within projects using Cloud VPN or Cloud Interconnect.\u003c/p\u003e\n"],["\u003cp\u003eBastion host VMs are an option for specific cases, such as session recording, where IAP is not suitable.\u003c/p\u003e\n"],["\u003cp\u003eCloud VPN or Cloud Interconnect can be used for SSH access if they are already set up within the organization, noting these are separate products from Compute Engine.\u003c/p\u003e\n"]]],[],null,["# Choose a connection option for internal-only VMs\n\nLinux\n\n*** ** * ** ***\n\nThis document provides an overview of the methods that you can use to connect to\na Compute Engine virtual machine (VM) instance through its internal IP\naddress. Connecting to a VM using its internal IP address is useful if you\nisolate VMs from external networks by removing their external IP addresses or\nrestricting inbound traffic to their external IP addresses.\n\nIf your VMs have external IP addresses, you can\n[connect using external IP address](/compute/docs/instances/connecting-to-instance).\n\nOptions\n-------\n\nThe following table summarizes the SSH options for connecting to VMs through\ntheir internal IP addresses."]]