Operating System - HP-UX
1833064 Members
3036 Online
110049 Solutions
New Discussion

Re: Port enabled for remsh across the firewall

 
SOLVED
Go to solution
Bonny Jose
New Member

Port enabled for remsh across the firewall

Hi Gurus,
I need to run remsh across the firewall to a sun8 system from my hp10.2
Which port should I enable on firewall ?
Somebody Please help.
Thanks in advance
Bonny Jose
3 REPLIES 3
Robin Wakefield
Honored Contributor

Re: Port enabled for remsh across the firewall

Hi,

Port 513 is remote login.

Rgds, Robin
Alex Glennie
Honored Contributor
Solution

Re: Port enabled for remsh across the firewall

remsh would use port 514 outgoing but you'd be unable to know which auxillary port a reply may need to open as these are opened randomly ... they start at 1023 and then decrements down to 512.

man remshd probably has some details on ports etc too.
Chris Calabrese
Valued Contributor

Re: Port enabled for remsh across the firewall

Since a firewall is involved, I'm guessing that somebody may actually care about security, at least a little bit. If you care about security DO NOT USE REMSH/RSH THROUGH A FIREWALL!!!

Minimally you should use SSH for this application. It's pretty much a drop-in replacement for remsh/rsh but encrypts the data and does cryptographic authentication.

Stock remsh/rsh does not encrypt data and it is trivial to fake out the authentication mechanisms for an experienced attacker.

See www.ssh.com (commercial) and www.openssh.com (free as in beer and speech).
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader