Solved

SSH replace rlogin, rsh & rcp

Posted on 2004-08-10
13
1,560 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
  • 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

778 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