远程访问问题

远程访问问题

我在 pi4 上设置了一个 Ubuntu 服务器。我希望能够远程访问该服务器。因此,我在 No-IP 上设置了一个帐户,并获得了一个域名。然后我下载了 OpenSSH 并输入了我的新详细信息。

我还在路由器上设置了端口转发。我的管理页面图片:

截屏

当我尝试使用本地 IP 在终端上使用 ssh 登录时,一切正常。但是当我尝试使用域名时,它不起作用。这里可能是什么问题?

我尝试在未连接网络的情况下登录,并收到以下错误消息:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    The ECDSA host key for MYSITE.sytes.net has changed,
    and the key for the corresponding IP address MYIP
    is unknown. This could either mean that
    DNS SPOOFING is happening or the IP address for the host
    and its host key have changed at the same time.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the ECDSA key sent by the remote host is
    SHA256:copdg+O/MYKEY
    Please contact your system administrator.
    Add correct host key in /home/nick/.ssh/known_hosts to get rid of this message.
    Offending ECDSA key in /home/nick/.ssh/known_hosts:3
      remove with:
      ssh-keygen -f "/home/nick/.ssh/known_hosts" -R "rpiserver.sytes.net"
    ECDSA host key for MYSITE.sytes.net has changed and you have requested strict checking.

相关内容