我一直在尝试在我们公司的 Web 服务器上升级 OpenSSH 以符合 PCI 规范。不过,我终其一生都无法弄清楚如何做到这一点。
我已经通过 SSH 尝试了以下命令(连同它们的输出):
# ssh -V
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
Run Code Online (Sandbox Code Playgroud)
# sudo apt-get install openssh-server openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-server is already the newest version.
openssh-client is already the newest version.
The following packages were automatically installed and are no longer required:
[list removed due to length]*
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and …Run Code Online (Sandbox Code Playgroud)