如何在Amazon Linux上将OpenSSH从6.6.1p1升级到7.2p2?
需要升级才能修复"OpenSSH扩展验证命令插入“漏洞。正在粘贴来自的扫描结果:
Result: SSH-2.0-OpenSSH_6.6.1 detected on port 22 over TCP.
建议的解决方案:“建议用户升级到可用软件的最新版本。有关详细信息,请参阅OpenSSH 7.2p2发行说明。”
1)Linux版本
ec2-user@demotair.arabidopsis.org$ uname -a
Linux ip-172-31-24-127 4.9.38-16.33.amzn1.x
我想从windows 10到linux进行ssh。我安装了OpenSSH服务器和客户端。当我试图使用我自己的电脑时,它就能工作了。22号港口开放了。我试过没有防火墙。但是当我尝试linux时,我的连接超时了。
ssh: connect to host 192.168.xxx.x port 22: Connection timed out
到目前为止,遵循了许多教程,并有各种错误。下面是我遵循的完整的一步一步的过程,最后在OpenSSH编译中出现了错误。
($HOME/Desktop/Zlib/zlib-1.2.5/output) 下载了Zlib和交叉编译的
cd /home/armsdk/Desktop/
mkdir zlib
cd Zlib
wget http://www.zlib.net/fossils/zlib-1.2.5.tar.gz
tar xzvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
mkdir output
./configure --prefix=/home/armsdk/Deskt
我一直在使用Perl的SSH包连接到我的RHEL系统。最近,我将我的一个VM升级为redhat-release 7.2-9.el7.x86_64。现在,当我运行Perl脚本时,它抛出了错误:
无法在/usr/local/ line 64/Perl 5/Net/SSH/Perl/kex.pm第107行找到通过包"Net::SSH::Perl::Kex::C25519“的对象方法"exchange”。当生成ssh对象时。
在我的6.8RHEL版本上,同样的脚本也在运行。有什么建议吗?
以下是代码:
#!/usr/local/bin/perl
use strict;
use
我正在尝试将我的linux服务器更新到最新的SSH (7.2)以符合PCI。我成功地在本地更新了它,但是我无法解决如何远程更新它,而且PCI检查仍然失败。
当我跑步时:
ssh -v localhost
部分产出是:
Local version string SSH-2.0-OpenSSH_7.2
Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6
match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6 pat OpenSSH_6.6.1* com
我使用Chilkat php扩展。我还注意到chilkat的方法Connect永远挂起。put_ReadTimeout()和put_ConnectTimeout()不能解决这个问题。 我也通过ssh使用它。代码很简单,如下: // $this->imap is a CKImap class
$this->imap->put_ConnectTimeout(10);
$this->imap->put_Ssl(true);
$this->imap->put_PeekMode(true);
$this->imap->put_Utf8(true)
问题1
我正在寻找一种方法将SSH放入我正在运行的容器中,或者在Azure容器(Linux)中托管VM。我读过和。但是,这两个链接都要求我在映像中安装openssh:
# Install OpenSSH and set the password for root to "Docker!". In this example, "apk add" is the install instruction for an Alpine Linux-based image.
RUN apk add openssh \
&& echo "roo
当我尝试sudo apt upgrade运行Raspbian的Raspberry系统时,当它到达openssh-server的配置时,dpkg出错了:
$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
rpi.gp
我在谷歌上搜索这个问题已经有一段时间了,但我还没有找到一个有效的解决方案。问题是SSH登录到我的服务器突然变得非常慢。我可以看到,在进行身份验证之前大约需要10秒钟,下面是我的ssh详细日志:
OpenSSH_7.3p1, LibreSSL 2.4.1
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: Connecting to 54.86.29.78 [54.86.29.78] port 22.
d