Operating System - HP-UX
1821808 Members
3242 Online
109638 Solutions
New Discussion юеВ

Ports for remsh and rlogin

 
SOLVED
Go to solution
Mehul_5
Occasional Contributor

Ports for remsh and rlogin

I want to access a server that is behind firewall. Which ports should be opened for remsh and rlogin services?
3 REPLIES 3
melvyn burnard
Honored Contributor

Re: Ports for remsh and rlogin

try looking at /etc/services
login 513/tcp # remote login
shell 514/tcp cmd # remote command, no passwd used
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
saju_2
Respected Contributor

Re: Ports for remsh and rlogin

Hi mehul

If u have linux server with nmap installed (Which comes by default) do a port scanning with it.

Try `nmap ` .

This will scann all the ports in the mentioned ipaddress server and will show you the results.

Regards
Saju
Biswajit Tripathy
Honored Contributor
Solution

Re: Ports for remsh and rlogin

Port 512/tcp : rexec (passwd reqd)
port 513/tcp : rlogin (passwd reqd)
port 514/tcp : remsh (no passwd reqd)

More info in /etc/services file.

You should also know that r-commands are not
secure and should be avoided.

- Biswajit
:-)