To access serial port of virtual machine example-instance in project example-project, run:
gdcloud compute connect-to-serial-port example-instance --project example-project
選用旗標
--timeout int Number of minutes to wait for the virtual machine instance to be ready. (default 5)
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# gdcloud compute connect-to-serial-port\n\nNAME\n----\n\ngdcloud compute connect-to-serial-port - Connect to the serial port of a GDC air-gapped virtual machine.\n\nSYNOPSIS\n--------\n\n gdcloud compute connect-to-serial-port INSTANCE_NAME [flags]\n\n### EXAMPLES\n\n To access serial port of virtual machine example-instance in project example-project, run:\n\n gdcloud compute connect-to-serial-port example-instance --project example-project\n\n### OPTIONAL FLAGS\n\n --timeout int Number of minutes to wait for the virtual machine instance to be ready. (default 5)\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]