sda*_*aau 2 command-line remote-access
我想尝试rsh(或rshell?) - 旧的,不安全的远程登录方式。
在我的 Ubuntu 11.04 上,事实证明rsh存在一个命令:
$ which rsh
/usr/bin/rsh
Run Code Online (Sandbox Code Playgroud)
...然而,事实证明它只是一个符号链接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
Run Code Online (Sandbox Code Playgroud)
这个“旧”是否rsh存在于 Ubuntu 存储库中 - 如果是,我该如何安装它?此外,rsh还分为客户端和服务器包 - 如果是,那是哪些包?
有两个版本。经典版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.
Run Code Online (Sandbox Code Playgroud)