Operating System - HP-UX
1832412 Members
2825 Online
110041 Solutions
New Discussion

remsh Second port not reserved

 
BPerela
New Member

remsh Second port not reserved

Hi.

With remsh from a host, i get the error "Second port not reserved" (The secondary socket connection does not use a reserved port.)

remshd(1M) says "If a secondary socket has been set up...". But how can I set up the secondary socket?

I don't understand it.
Some idea?

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: remsh Second port not reserved

Shalom,

The server accepting the command must have a listener set up.

remsh is an insecure protocol. You should consider ssh instead which can be modified to use ports other than 22.

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
TTr
Honored Contributor

Re: remsh Second port not reserved

Check the inetd.conf on the remote server to see if you are using any special options such as -R, -r, -K, -k etc.
BPerela
New Member

Re: remsh Second port not reserved

Hola hola.

Thanks for your replies.

The problem was simply the resolution of the name of the host. It was not that I expected.

I put it correctly in .rhosts and it works fine.

Also I'll try SSH.

Bye.
BPerela
New Member

Re: remsh Second port not reserved

Thanks.