I got it works now. I think I was sending a wrong key to the management node. I sent public key instead of private key.
Thanks. On Thu, Jun 6, 2013 at 2:55 PM, Dan Huynh <[email protected]> wrote: > Hi Dmitri, > I tried that. It didn't work > > *[root@nc-vcl ~]# ssh -i /etc/vcl/lab.key [email protected]* > *Warning: Permanently added '10.30.23.200' (RSA) to the list of known > hosts.* > *[email protected]'s password:* > > > > Usually, I just use ssh-copy-id and it works perfectly. > But in this case, vclstaff doesn't have a password, I dont think I can use > ssh-copy-id here. > > > On Thu, Jun 6, 2013 at 11:23 AM, Dmitri Chebotarov <[email protected]>wrote: > >> Hi Dan >> >> Could you please check permission of the ~/.ssh/authorized_keys file on >> the 'target_lab_machine' >> I think it should be set to 600. >> >> >> On Jun 5, 2013, at 17:20 , Dan Huynh <[email protected]> wrote: >> >> > >> > Hi all, >> > I want to config the lab machines and add those to VCL resources. I >> followed the instruction below: >> > https://cwiki.apache.org/VCL/labpm-provisioning-module.html >> > >> > However, I got stuck at the point where we use PRIVATE KEY to remote to >> the lab machine.. >> > I generated the RSA key on the lab machine, copied public key to >> /home/vclstaff/.ssh/authorized_keys >> > Then, I used scp to copy Private key to the management node. >> > >> > Now I use ssh -i /etc/vcl/lab.key vclstaff@target_lab_machine >> > But it won't work. It still asks me to enter password. >> > >> > I wonder what could cause the problem? >> > Thank you very much. >> > >> > Dan Huynh >> > >> > Cary, NC 27513 >> >> >> >> -- >> Thank you, >> >> Dmitri Chebotarov >> VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & >> Messaging >> 223 Aquia Building, Ffx, MSN: 1B5 >> Phone: (703) 993-6175 | Fax: (703) 993-3404 >> >> >> >> > > > -- > *Dan Huynh* > * > Cary, NC 27513* > -- *Dan Huynh* * Cary, NC 27513*
