ubuntu apt-get upgrade-如何在 shell 中单击“确定”?

ubuntu apt-get upgrade-如何在 shell 中单击“确定”?

我正在升级 Ubuntu 7.04 服务器上的 openssh-server 包apt-get upgrade,以修复 debian PRNG 安全漏洞。我通过 SSH 连接(Windows 上的 putty)执行此操作,我认为这没问题,但是...

升级似乎挂在下面了,就像它想让我在“窗口”中单击“确定”,但我当然不能,因为我只是在一个外壳中。

设置 openssh-server (4.3p2-8ubuntu1.5) ... 包配置

âââââââââââââââââââââââ⤠Configuring openssh-server âââââââââââââââââââââââââ
â                                                                           â
â Vulnerable host keys will be regenerated                                  â
â                                                                           â®
â Some of the OpenSSH server host keys on this system were generated with   â
â a version of OpenSSL that had a broken random number generator. As a      â
â result, these host keys are from a well-known set, are subject to         â
â brute-force attacks, and must be regenerated.                             â
â                                                                           â
â Users of this system should be informed of this change, as they will be   â
â prompted about the host key change the next time they log in. Use         â
â 'ssh-keygen -l -f HOST_KEY_FILE' after the upgrade has changed to print   â
â the fingerprints of the new host keys.                                    â
â                                                                           â
â The affected host keys are:                                               â
â                                                                           â
â
â                                  <Ok>
â                                                                           â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

我注意到我无法再将任何新的 ssh 会话连接到服务器,但我打开的现有会话仍然可以工作。

有什么想法我该如何进行吗?

答案1

确保 Putty 窗口处于焦点状态,然后尝试按“Enter”。如果不起作用,请按“Tab”直到“< Ok >”突出显示,然后再次尝试“Enter”。

相关内容