当我尝试通过 SSH 连接到 Google Compute Engine 上的实例时,出现以下错误。
Connection Failed. We are unable to connect to the VM on port 22.
Run Code Online (Sandbox Code Playgroud)
我为获得该错误所做的步骤
这是实例的串行控制台输出。
[ 0.338119] Loading compiled-in X.509 certificates
[ 0.339445] Loaded X.509 cert 'Magrathea: Glacier signing key: e09b1e7e9841e9cfef256b70ab210562dab1ef68'
[ 0.341236] registered taskstats version 1
[ 0.342183] Key type trusted registered
[ 0.342872] Key type encrypted registered
[ 0.343453] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.344592] …Run Code Online (Sandbox Code Playgroud)