Operating System - HP-UX
1833053 Members
2224 Online
110049 Solutions
New Discussion

How to configure ssh for veritas cluster Installation

 
Vaibhav_6
Advisor

How to configure ssh for veritas cluster Installation

Does anybody has steps that need to be followed for successfully installing VCS.
( so that it does not ask for passwd while installing )

Thanks,
Vaibhav
3 REPLIES 3
baiju_3
Esteemed Contributor

Re: How to configure ssh for veritas cluster Installation

For configuring ssh authentication w/o password.

for root user

On source Server

1)cd ~root/.ssh

2)ssh-keygen -t rsa -b 1024

Press enter (default) for all questions.

this will generate id_rsa and id_rsa.pub files .

3)append the id_rsa.pub contents to ~root/.ssh/authorized_keys file on remote host .(use ecp tp copy the file to remote server /or ftp it in bin mode)

4)test the ssh connectivity by

ssh target-server -n "ls -al"

This will prompt for confirmation for adding the host info in known_hosts , enter yes .

again test the above command , this time ls -al o/p of target server will be displayed w/o asking for the root password .

5)Once tested you can get rid of .rhosts file authentications set.

thx,
bl





Good things Just Got better (Plz,not stolen from advertisement -:) )
Vaibhav_6
Advisor

Re: How to configure ssh for veritas cluster Installation

On Target machine , I am have a lot of authorized_keys:
Which one shud I pik...
./homes/b08g2hs/.ssh/authorized_keys
./homes/b0mpkvw/.ssh/authorized_keys
./homes/b183x88/.ssh/authorized_keys
./homes/b1d4nq0/.ssh/authorized_keys
./homes/b1pyzqd/.ssh/authorized_keys
./homes/b1sndlj/.ssh/authorized_keys
./homes/b2kv3k8/.ssh/authorized_keys2
./homes/b520xpp/.ssh/authorized_keys
./homes/b528b7f/.ssh/authorized_keys
./homes/b52cmhd/.ssh/authorized_keys
./homes/b5gdyn2/.ssh/authorized_keys
./homes/b5gdytb/.ssh/authorized_keys
./homes/b5gwksz/.ssh/authorized_keys2
./homes/b5qnh03/.ssh/authorized_keys2
./homes/ba0290h/.ssh/authorized_keys
./homes/bb4d7rm/.ssh/authorized_keys
./homes/bbvr8yk/.ssh/authorized_keys
./homes/bcpg0bj/.ssh/authorized_keys
./homes/bcqy389/.ssh/authorized_keys2
./homes/bcvn0dv/.ssh/authorized_keys
./homes/bcx6jp6/.ssh/authorized_keys
./homes/bdbgx45/.ssh/authorized_keys
./homes/bdq2rc3/.ssh/authorized_keys
./homes/bdr0pca/.ssh/authorized_keys
./homes/bdrrmk6/.ssh/authorized_keys
./homes/bdrtmy0/.ssh/authorized_keys
./homes/bdx8j2d/.ssh/authorized_keys
./homes/bdyx3c3/.ssh/authorized_keys
./homes/bf1wzfs/.ssh/authorized_keys
./homes/bf43wfx/.ssh/authorized_keys
./homes/bf498qs/.ssh/authorized_keys
./homes/bf8fafj/.ssh/authorized_keys
./homes/bf9cg8w/.ssh/authorized_keys
./homes/bfbc498/.ssh/authorized_keys
./homes/bfjqb6h/.ssh/authorized_keys
./homes/bfkwzm9/.ssh/authorized_keys
./homes/bflt68l/.ssh/authorized_keys
./homes/bflv80x/.ssh/authorized_keys
./homes/bfmlbds/.ssh/authorized_keys
./homes/bfmnrnx/.ssh/authorized_keys
./homes/bfmraz2/.ssh/authorized_keys
./homes/bfmsxdc/.ssh/authorized_keys
./homes/bfn82hc/.ssh/authorized_keys
./homes/bfnp4k4/.ssh/authorized_keys
./homes/bfny70a/.ssh/authorized_keys
./homes/bfpk87s/.ssh/authorized_keys
./homes/bfrpzbb/.ssh/authorized_keys
./homes/bfv305y/.ssh/authorized_keys
./homes/bfvgra9/.ssh/authorized_keys
./homes/bfvhaq2/.ssh/authorized_keys
./homes/bfxqtdr/.ssh/authorized_keys
./homes/bg4tx4x/.ssh/authorized_keys
./homes/bg95pqn/.ssh/authorized_keys2
./homes/bgadmin/.ssh/authorized_keys
./homes/bgb4x39/.ssh/authorized_keys2
./homes/bgn20v1/.ssh/authorized_keys
./homes/bgzn91q/.ssh/authorized_keys2
./homes/bh6sqlm/.ssh/authorized_keys
./homes/bh6sqlm/authorized_keys
./homes/bhfk91q/.ssh/authorized_keys2
./homes/bhwlpdk/.ssh/authorized_keys2
./homes/bj18jfg/.ssh/authorized_keys2
./homes/bkknzcq/.ssh/authorized_keys
./homes/bkknzcq/authorized_keys
./homes/blq4t4v/.ssh/authorized_keys
./homes/bm1mhh3/.ssh/authorized_keys
./homes/bm1mhh3/authorized_keys
./homes/bn8vbcb/.ssh/authorized_keys
./homes/bn92wml/.ssh/authorized_keys2
./homes/bncp5h4/.ssh/authorized_keys
./homes/bp9h10p/.ssh/authorized_keys
./homes/bpqdws5/.ssh/authorized_keys
./homes/bpzgvbt/.ssh/authorized_keys
./homes/bqxdt5y/.ssh/authorized_keys
./homes/d08m60n/.ssh/authorized_keys
./homes/d1dvbl4/.ssh/authorized_keys
./homes/d1j3sgr/.ssh/authorized_keys
./homes/d1qttga/.ssh/authorized_keys
./homes/d1qv928/.ssh/authorized_keys
./homes/d1xkpr0/.ssh/authorized_keys
./homes/d3n3p4w/.ssh/authorized_keys
./homes/d3t733c/.ssh/authorized_keys
./homes/d497c4n/.ssh/authorized_keys
./homes/d52j3dh/.ssh/authorized_keys
./homes/d56l484/.ssh/authorized_keys
./homes/d56l4j2/.ssh/authorized_keys
./homes/d57wlyy/.ssh/authorized_keys
./homes/d5f45vj/.ssh/authorized_keys
./homes/d5pa06d/.ssh/authorized_keys
./homes/d5sal7x/.ssh/authorized_keys
./homes/d6bwxxz/.ssh/authorized_keys
./homes/dazerr1/.ssh/authorized_keys
./homes/db3x5x5/.ssh/authorized_keys
./homes/db5fw64/.ssh/authorized_keys
./homes/dc23768/.ssh/authorized_keys
./homes/dd0s3n9/.ssh/authorized_keys
./homes/dd68czb/.ssh/authorized_keys
./homes/dd68df9/.ssh/authorized_keys
./homes/dda52jk/.ssh/authorized_keys
./homes/ddh39gj/.ssh/authorized_keys
./homes/ddp9bmt/.ssh/authorized_keys
./homes/ddrv1vd/.ssh/authorized_keys
./homes/dds7gt2/.ssh/authorized_keys
./homes/ddxfkn3/.ssh/authorized_keys
./homes/ddy8rpr/.ssh/authorized_keys
./homes/df3yva1/.ssh/authorized_keys
./homes/df48t6p/.ssh/authorized_keys
./homes/df8gpna/.ssh/authorized_keys
./homes/df9c7wz/.ssh/authorized_keys
./homes/df9caqp/.ssh/authorized_keys
./homes/dfcgqzd/.ssh/authorized_keys
./homes/dflnv1b/.ssh/authorized_keys
./homes/dflpjg2/.ssh/authorized_keys
./homes/dg7pvrn/.ssh/authorized_keys2
./homes/dg7pvrn/.ssh/authorized_keys
./homes/dg95z4g/.ssh/authorized_keys
./homes/djrz1z3/.ssh/authorized_keys
./homes/dkbdmsl/.ssh/authorized_keys
./homes/dkxh1pg/.ssh/authorized_keys
./homes/dppfyvx/.ssh/authorized_keys
./homes/dq1815j/.ssh/authorized_keys
./homes/dqaszp9/.ssh/authorized_keys2
baiju_3
Esteemed Contributor

Re: How to configure ssh for veritas cluster Installation

Hi ,

for root user , use

/.ssh/authorized_keys (provided / is the home for root,verify this in /etc/passwd file).


thx,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )