1753512 Members
5645 Online
108795 Solutions
New Discussion юеВ

Re: RCP RSH Ports

 
SOLVED
Go to solution
shashi kanth
Super Advisor

RCP RSH Ports

What are the firewall ports needs to be open in HP-UX to do RSH and RCP ?
7 REPLIES 7
Ganesan R
Honored Contributor

Re: RCP RSH Ports

Hi Shashi Kanth,

These are the default ports used for remote services.

rexec 512
remsh 513
rlogin 513

rcp will use remsh
Best wishes,

Ganesh.
T G Manikandan
Honored Contributor

Re: RCP RSH Ports

Its port 514 on server
Pete Randall
Outstanding Contributor
Solution

Re: RCP RSH Ports

Just looking at /etc/services, I would say that the ports needed are probably 512, 513, 514, maybe 515 (print).

However, since you're going outside the firewall, I would suggest you think about using Secure Shell rather than remsh. The traffic will be encrypted and therefore secure.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: RCP RSH Ports

Shalom,

The answer to most of these questions is found in /etc/services file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ganesan R
Honored Contributor

Re: RCP RSH Ports

Hi Shashikanth,

There is a typo error on my previous post.

remsh will use 514 not 513.

Sincere apologize for the typo mistake.
Best wishes,

Ganesh.
T G Manikandan
Honored Contributor

Re: RCP RSH Ports

As pointed in your previous post, use SSH rather than opening up ports where all operations happen on port 22 securely.
shashi kanth
Super Advisor

Re: RCP RSH Ports



Thank you all.