Operating System - Linux
1825805 Members
2327 Online
109688 Solutions
New Discussion

Remotely login to a linux server from hp

 
sunil_34
Occasional Advisor

Remotely login to a linux server from hp

Dear sir,

How can i remotely login from hp server to a linux server as i do it for a remote hp server
via "remsh ".

Please help.
7 REPLIES 7
Stuart Browne
Honored Contributor

Re: Remotely login to a linux server from hp

The same way you do in a HP-UX to HP-UX.

You can use the standard tools (remsh (called 'rsh' in linux), rexec and rlogin).

By default, most linux distributions dissalow you from doing 'r' based commands into a Linux box as the 'root' user, but the concept of '.rhosts' files is the same.

It is reccomended however that you use the 'ssh' replacement of such tools for security purposes, using an 'rsa' key exchange for security.

if you could clarify exactally how you want to 'remotely login', we can give you further details on how to do such tasks.
One long-haired git at your service...
sunil_34
Occasional Advisor

Re: Remotely login to a linux server from hp

I want ro login into linux as

remsh

where hostname is running linux o/s.

regards.
Jeroen Peereboom
Honored Contributor

Re: Remotely login to a linux server from hp

To login one would use rlogin.

Check the deamons are running on the linux box. Can you telnet to the linux server?

Add your HP server's hostname to $HOME/.rhosts on the linux server.
Maybe add FQDN too, and IP address if you experience problems.
Do a chmod 400 .rhosts.
Try to rlogin from HP server.

As said by Stuart, consider using ssh which will give you the same functionality but no passwords in clear text over the network.

JP.
Jeroen Peereboom
Honored Contributor

Re: Remotely login to a linux server from hp

By the way,

it's better to ask the question in one forum only....

JP.
Vernon Brown_4
Trusted Contributor

Re: Remotely login to a linux server from hp

In Fedora core 1 out of the box, I think that

ssh hostname.com

should work. Works for me.

Vern
Vitaly Karasik_1
Honored Contributor

Re: Remotely login to a linux server from hp

In short: in modern Linux distros telnet/ftp/r-command are disbaled by default because ssh provides the same functionality.

If you want to allow rsh/rlogin in RH/Fedora:
1) chkconfig rsh on ; chkconfig rlogin on
2) add you hp host hostname into .rhosts
3) if you want to use rsh/rlogin for root user - you should add rsh and rlogin into /etc/securetty file.

Rgds,
Vitaly
Dave Unverhau_1
Honored Contributor

Re: Remotely login to a linux server from hp

The best approach would probably be to install the HP-UX Secure Shell (ssh) product on your server. It's available for 11.0 and above. Here's a link to the product on the software.hp.com site:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA

Best Regards,

Dave
Romans 8:28