Operating System - HP-UX
1825768 Members
2049 Online
109687 Solutions
New Discussion

port 514 / remote shell ?

 
Gary Yu
Super Advisor

port 514 / remote shell ?

Hi,

In my new development box(HPUX 11.0), we're using cvs as source code control, and the developers are going to use a java cvs client called "jcvs" on their laptops(win2000). The problem is I can't connect the jcvs to the server.
It seemed that the jcvs client were trying to connect to the cvs server through port 514, and run remote shell on it(rsh on win2000), and it said "Failed to open socket to connect to cvs server '514@10.24.223.14' ". How can I check if this port is opened? or how to enable the jcvs client to use remote shell?

thanks!
2 REPLIES 2
Scott Van Kalken
Esteemed Contributor

Re: port 514 / remote shell ?

check the syslog on your server, you should see some messages in there regarding authentication.

Generally when using remote shell, you need to specify a user to log in as and a rhosts file.
Steven Sim Kok Leong
Honored Contributor

Re: port 514 / remote shell ?

Hi,

>> How can I check if this port is opened? or how to enable the jcvs client to use remote shell?

If you are using remsh (HP-UX command for remote shell), then it will be using TCP/514 port.

A) To check whether this port is accessible locally on your server, execute:

# telnet 127.0.0.1 514

If you don't see a connection refused message, then your server is listening at TCP/514 port.

B) To check whether this port is accessible on your server from your client, execute:

# telnet YOUR_SERVER 514

If you see "Connected to...", then
1) YOUR_SERVER is running TCP/514 service
2) YOUR_CLIENT is able to connect to YOUR_SERVER TCP/514 service port
3) It is possible that YOUR_CLIENT and/or YOUR_SERVER was not configured properly to process the connection properly. Perhaps a rhosts file on the destination server?

Note that from the security perspective, r-services are insecure because they transmit in cleartext across the network and uses weak client authentication methods.

Hope this helps. Regards.

Steven Sim Kok Leong