升级到ubuntu 18后,丢失了通过Putty和RDP的所有连接

问题描述 投票:-2回答:2

我是Ubuntu的初学者。我有一个RDP连接,可以从我的Windows10连接到具有Ubutnu服务器v.16.04.5的VM

我使用以下命令启动了对ubuntu 18的升级:

sudo apt update

sudo apt升级

sudo apt dist-upgrade

sudo do-release-upgrade

系统进行了升级,然后自动关闭了我的RDP连接。从那以后,我无法重新连接我的IP地址。

这是the error message on RDP

在这里the error message on Puttty

我在一些关于askubuntu的链接中读到了一些与ssh相关的命令。问题是我目前无法访问ubuntu服务器来执行任何这些命令。

有什么帮助吗?

ubuntu
2个回答
0
投票

尝试/etc/network/interfaces的配置:

# The primary network interface
auto example
iface example inet static
address 192.168.?.?
netmask 255.255.255.?
gateway 192.168.?.?
dns-nameservers 192.168.?.?

?为了你自己的价值观


0
投票

这个解决方案对我有用:

  1. 编辑sshd_config: sudo nano / etc / ssh / sshd_config

将PasswordAuthentication和ChallengeResponseAuthentication更改为yes。

  1. 重启ssh: /etc/init.d/ssh重启
© www.soinside.com 2019 - 2024. All rights reserved.