我正在尝试将我的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
当我尝试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
我正在尝试让NETCONF服务器的yuma123开源实现在嵌入式Linux系统上运行。 NETCONF服务器使用sshd,而yuma123似乎假定它是sshd的openssh实现,因为它使用/etc/ssh/sshd_config文件。 特别是,yuma123中的README文件声明: Tell sshd to listen on port 830. Add the following 2 lines to /etc/ssh/sshd_config:
Port 830
Subsystem netconf "/usr/sbin/netconf-subsystem --ncxserve
我是Linux的新手,一个人处理不了它。
我今天把我的dist升级到Debian 9.3。在升级过程中,SSH服务器无法启动。
Setting up openssh-server (1:7.4p1-10+deb9u2) ...
Job for ssh.service failed because the control process exited with error code.
See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscrip
如何在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
OpenSSH支持使用证书颁发机构对用户密钥进行签名。来自man ssh-keygen:
ssh-keygen supports signing of keys to produce certificates that may
be used for user or host authentication. Certificates consist of a
public key, some identity information, zero or more principal (user
or host) names and a set of options that are signe
到目前为止,遵循了许多教程,并有各种错误。下面是我遵循的完整的一步一步的过程,最后在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
在扫描服务器端口时,如何隐藏运行的Linux版本?
当我从外部映射服务器的ip (nmap‘’ed(nmap -A -T4 192.168.40.12)时,结果是:
Starting Nmap 4.62 ( http://nmap.org ) at 2009-11-07 11:27 IRST
LUA INTERPRETER in nse_init.cc:763: /usr/share/nmap/scripts/robots.nse:4: module 'http' not found:
no field package.preload['http']
no
我一直在使用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