cancel
Showing results for 
Search instead for 
Did you mean: 

Remote connection

haeman
Frequent Advisor

Remote connection

I have two servers , I use rcp to copy files in-between these servers , can advise if I want ALL user can use rcp / rsh via ANY port in between these servers , can asvise can can I do ?
2 REPLIES
Steven E. Protter
Exalted Contributor

Re: Remote connection

Shalom,

rcp and scp, the latter is what you really should be using permit the -P parameter on the command line.

Of course you need to configure the service to listen on this new port at the target.

As you should know rsh/rcp do authentication and data in clear text, letting anyone on your network see the data.

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
Sandeep_Chaudhary
Trusted Contributor

Re: Remote connection

Please go for "scp"
"scp -P portno" will help u to connect using specific port.
its very simple to configure scp/ssh.

U have to install ssh depot
Secure_Shell A.04.00.003 HP-UX Secure Shell

then u have to use "ssh-keygen -t dsa" command to generate secure key. need to copy public key to user home directory on other host and rename it as authorized_keys