我已经在 NUC 上安装了 Ubuntu Core (ubuntu-core-22-amd64.img.xz)。使用以下说明:https://ubuntu.com/core/docs/install-nuc。
当我看到类似于成功启动服务器时的屏幕时,我无法通过 ssh 登录。
我已经创建了我的 Ubuntu One 帐户。并加载了一个公钥(没有密码)。我甚至使用上面的教程启动了两个 VirtualBox 实例。并且能够使用我的 Ubuntu 帐户上的公钥通过 SSH 连接到两个虚拟机。
这是我尝试 ssh 到物理 NUC(而不是 VM)时得到的结果。与 VM 一样,我可以成功 ssh 进入。
ssh -vvvvvvvv -i ~/.ssh/id_rsa_ubuntu_core [email protected]
OpenSSH_8.6p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/x/.ssh/config
debug1: /Users/x/.ssh/config line 5: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: resolve_canonicalize: hostname xxx.xx.xx.x is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/x/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/x/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to xxx.xx.xx.x [xxx.xx.xx.x] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address xxx.xx.xx.x port 22: Operation timed out
ssh: connect to host xxx.xx.xx.x port 22: Operation timed out