Solved

SSH replace rlogin, rsh & rcp

Posted on 2004-08-10
13
1,592 Views
Last Modified: 2010-05-18
Hi All,

I am using the utilities rlogin, rsh & rcp now.
As Network Address Translation technique will be applied to my system, I know NAT cannot support the above utilities but SSH can b used.

Can SSH perform all the functions supported by rlogin, rsh & rcp?

If yes, I would like to use SSH instead. But I haven't used SSH before.  

Please advise what must be concerned before making a decision to
use SSH to replace rlogin, rsh & rcp?

The OS version I am using is Digital Unix V4.0F.

Thanks!


0
Comment
Question by:iecu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
13 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 68 total points
ID: 11769506
Secure shell ssh is a replacement of rlogin, rsh, secure ftp (sftp come with the secure
shell pachage) can replace rcp.

Information about how to use ssh can be found:
http://www.openssh.org/faq.html
http://www.employees.org/~satch/ssh/faq/ssh-faq-4.html

You can download openssh from:
http://www.openssh.org

0
 
LVL 48

Expert Comment

by:Tintin
ID: 11769519
What makes you think rlogin, rsh and rcp won't work with NATing?  

0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 66 total points
ID: 11769843
r* services authenticated based on source ip and user presented user tag.
4.0 was not very rich with ssh, but you can try to compile OpenSSH http://www.openssh.com/portable.html
5.1 has ssh server already in base set (not openSSH, but SSH.com)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:iecu
ID: 11769912
Dear Tintin,

In this document http://rfc.net/rfc3027.html,
it points out NAT cannot support rlogin & rsh.

Is this truth?



0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11771709
> it points out NAT cannot support rlogin & rsh.
> Is this truth?

yes. Go with ssh, no problem there.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11778793
There you go.  Learn something new everyday.  Didn't realise rsh is effected by NAT.  Says rlogin is OK though (without Kerberos)
0
 

Author Comment

by:iecu
ID: 11781057
Hi Tintin,

I dont' have experience working with NAT before.

Do you have any experience with NAT?

Are you confident that NAT can work properly with rsh?

Thanks for your advice!
0
 
LVL 62

Expert Comment

by:gheist
ID: 11781085
r* without kerberos (and kerberos does not work via NAT) simply authenticates by username client presents and source host, no password whatsoever.
if your Tru64 is inside private subnet behind the NAT box, then there is no problem with NAT as such.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 11781156
These r* are not secure, why not just use ssh?
0
 

Author Comment

by:iecu
ID: 11781173
Dear gheist,

Currently, I am using rsh at a workstation outside my prviate network.

If NAT is applied between the public network (the workstation currently locate) and private network, rsh "cannot" work under this environment. Am I correct?

The only way I can solve my problem is using SSH. Right?

Thanks for your advice!
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 66 total points
ID: 11781710
> Currently, I am using rsh at a workstation outside my prviate network.
Shudder!
If that "outside" is the same as "rather publicly accessible", you should switch to using ssh as soon as humanely possible.
If it is "our only midway secure LAN connected to our secured LAN" you should still switch to ssh rather sooner than later;). The r* commands made sense in the -80:s, not today.

BTW, the straight ssh replacement command for rcp is (of course) scp ... not sftp (which is more like a wrapper providing ftp-like interface to scp;).
If you setup ssh for public key authentication you can have virtually the ease of the r* commands but with very much higher degree of security.

-- Glenn
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Upgrade RHEL from 6.7 to 6.8.... any benefit to having installed 6.8 to begin with? 2 1,529
FTP on FreeBSD server 2 167
Linux: disable vim auto-comment 7 172
sed command 3 29
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question