Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
SSH comes with most Linux distros. RSH is often an option, but doesn't get installed. While you can add it, it's better to use something more secure, such as SSH.
As to whether or not you should install it, that depends on what you're trying to do.
SSH comes with most Linux distros. RSH is often an option, but doesn't get installed. While you can add it, it's better to use something more secure, such as SSH.
As to whether or not you should install it, that depends on what you're trying to do.
thanks alot for your answer.
could u plz tell me from where can i add RSH? i already searched however i prefer to ask first.
i tried SSH before, however i can't let it worked whithout a passphrase. if u know this point, i will be very thankful if u can help.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
How do you mean?
You will need to have an SSH server installed and running on the remote machine, and an SSH client installed on the local machine. Howto install these is dependent on your distro - if you use Debian then
SSH comes with most Linux distros. RSH is often an option, but doesn't get installed. While you can add it, it's better to use something more secure, such as SSH.
As to whether or not you should install it, that depends on what you're trying to do.
I don't know if they do this on other distributions but on Ubuntu they linked rsh to ssh... a bit obnoxious if you ask me.
With regards to all who promote the valid advantages of ssh over rsh, I offer a simple answer as to why you would continue to use rsh, especially as root - Because you have to.
Our environment includes about 1200 systems in our immediate group, 2300 at the site, over 5000 world-wide, with Linux, HPUX (back to 7.x), MPE, Solaris, AIX, OFS1, Ultrix, several lesser Unixs, not to mention Microsoft stuff going back to DOS 3.1, we don't always get to exercise denial. All this is still in operation because upgrading a single tool can cost $millionsUSD.
So to use rsh as root on Ubuntu, in addition to
aptitude install rsh-client rsh-server
and adjusting the /etc/xinedt.d/* and /etc/pam.d/* as others have documented. You need to insert pty entries in your /etc/securetty file.
pty/2
pty/3
pty/4
etc.
With regards to all who promote the valid advantages of ssh over rsh, I offer a simple answer as to why you would continue to use rsh, especially as root - Because you have to.
Our environment includes about 1200 systems in our immediate group, 2300 at the site, over 5000 world-wide, with Linux, HPUX (back to 7.x), MPE, Solaris, AIX, OFS1, Ultrix, several lesser Unixs, not to mention Microsoft stuff going back to DOS 3.1, we don't always get to exercise denial. All this is still in operation because upgrading a single tool can cost $millionsUSD.
So to use rsh as root on Ubuntu, in addition to
aptitude install rsh-client rsh-server
and adjusting the /etc/xinedt.d/* and /etc/pam.d/* as others have documented. You need to insert pty entries in your /etc/securetty file.
pty/2
pty/3
pty/4
etc.
Hope this helps,
Dave
That's fine..but this is a two-year old thread. We realize there are times when you "have to", but it's so insecure as normal, it's hard to recommend in this day and age. You can (and should, as a good systems admin), exercise denial, because it's YOU that is ultimately responsible...not the users or management that 'make you' use something insecure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.