Ubuntu中是否存在“旧”rsh?

我想尝试rsh (或rshell ?) – 远程登录的旧的,不安全的方式。

在我的Ubuntu 11.04上,结果发现存在rsh命令:

 $ which rsh /usr/bin/rsh 

…然而,事实certificate它只是ssh符号链接:

 $ ls -la `which rsh` lrwxrwxrwx 1 root root 21 2011-03-25 16:07 /usr/bin/rsh -> /etc/alternatives/rsh $ ls -la $(readlink -f `which rsh`) -rwxr-xr-x 1 root root 391580 2011-04-02 12:16 /usr/bin/ssh 

这个“旧” rsh是否存在于Ubuntu存储库中 – 如果存在,我该如何安装它? 此外, rsh还分为客户端和服务器包 – 如果是,那些包是那些?

您可以安装包rsh-client

安装它应该将符号链接更改为新安装的rsh文件,否则您可以使用update-alternatives来更改它。

有两个版本。 经典的rsh-{server,client}和较新的rsh-redone-{server,client} (它仍然没有加密但支持IPv6等)。

 $ apt-cache show ^rsh # output is trimmed Package: rsh-server Description-en: server program for remote shell connections This package contains rexecd, rlogind and rshd. Package: rsh-client Description-en: client programs for remote shell connections This package contains rsh, rcp and rlogin. Package: rsh-redone-client Description-en: Reimplementation of rsh and rlogin Rsh-redone is a reimplementation of the remote shell clients and servers. It is written from the ground up to avoid the bugs found in the standard clients and servers. It also fully supports IPv6. . This package provides rsh and rlogin. Package: rsh-redone-server Description-en: Reimplementation of rshd and rlogind Rsh-redone is a reimplementation of the remote shell clients and servers. It is written from the ground up to avoid the bugs found in the standard clients and servers. It also fully supports IPv6. . This package provides rshd and rlogind. 

请尝试安装以下软件包:

rsh-client – 用于远程shell连接的客户端程序

rsh-server – 用于远程shell连接的服务器程序

托马斯

查看软件包rsh-redone-clientrsh-redone-server

他们做的工作。