Ubuntu 中存在“旧” rsh 吗?

Ubuntu 中存在“旧” rsh 吗?

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

在我的 Ubuntu 11.04 上,发现rsh存在一个命令:

$ which rsh
/usr/bin/rsh

...然而,事实证明它只是一个符号链接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分为客户端和服务器包?如果存在,它们是什么包?

答案1

有两个版本。经典版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.

答案2

您可以安装该包rsh-client

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

答案3

请尝试安装以下软件包:

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

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

托马斯

答案4

看看包裹rsh-redone-clientrsh-redone-server

他们完成工作。

相关内容