Run Multiple Commands on a remote host using rsh command

The rsh (remote shell) program was a tool for remotely running a command on a remote computer. It has since been superseded by ssh. Everyone who still has rsh enabled is encouraged to disable it for important security reasons immediately.

The rsh tool was introduced in BSD Unix in the 1980s. It was an important tool at the time but suffered several shortcomings. Its security was poor, and its usability wasn’t great.

Security Issues in rsh

rsh used .rhosts files and /etc/hosts.equiv for authentication. These methods relied on IP addresses and DNS (Domain Name System) for authentication. However, spoofing IP addresses is fairly easy, especially if the attacker is on the local network, and at the time, it could even be done remotely.

Furthermore, the .rhosts files were stored in users’ home directories, typically on NFS (Network File System) volumes. The security of NFS at that time was poor (and still is in many installations).

Usability Issues in rsh

End users commonly wanted to use rsh to open a terminal window in a remote computer. They then wanted to run arbitrary applications from the remote server – including editors and graphical tools. To do this, they needed to set the user’s DISPLAY environment variable appropriately and allow access to their local X terminal. This was cumbersome.

SSH differed from rsh by setting the DISPLAY environment variable automatically. It also automatically created secure authentication tokens for X11 authentication and did it in a way that prevented rogue servers from using those credentials after the session terminated. This was a major convenience that helped push universities and companies into using SSH instead of rsh.


Nord VPN
60% off Nord VPN
Coinbase - Getty Images - 1234552839
Coinbase – Crypto Currency – Sign up with this link and get $10 free?! Buy/sell/exchange crypto, and use their ATM card to access your cash easily!
Chase Sapphire Preferred - Travel Points
NordPass - Password Manager - CJ Banner
https://www.dpbolvw.net/click-100604079-15345170
Binance Cryptowallet - Buy/Sell
Binance Blockchain
Amazon - Daily Deals
Amazon’s Daily Deals!
Your favorite restaurants are delivered to your front door! Grubhub!
Game Fly
Game Fly Video Game Rentals!

Please enter CoinGecko Free Api Key to get this plugin works.