Wednesday, May 1, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8005  / 1 Year ago, thu, march 30, 2023, 5:41:53

I wanted to try out rsh (or rshell?) - the old, insecure way of logging in remotely.



On my Ubuntu 11.04, it turns out an rsh command exists:



$ which rsh
/usr/bin/rsh


... however, it turns out it is a mere symlink for 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


Does this "old" rsh exist in Ubuntu repositories - and if so, how do I install it? Also, is rsh also split in client and server packages - and if so, which packages are those?


More From » command-line

 Answers
7

You can install the package rsh-client.



Installing it should change the symlink to the newly installed rsh file, if not you can change it using update-alternatives.


[#29733] Friday, March 31, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uffno

Total Points: 283
Total Questions: 93
Total Answers: 111

Location: Saint Vincent and the Grenadines
Member since Thu, Oct 15, 2020
4 Years ago
uffno questions
Thu, Sep 2, 21, 18:08, 3 Years ago
Sun, Apr 2, 23, 15:15, 1 Year ago
Sat, Jan 8, 22, 16:37, 2 Years ago
;