Hi Dude, It is working fine... Pls do the same it should be work...Any doubt get back to me..
Server 1 ======== [root@changemyname ~]# ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 01:1d:81:a5:01:49:75:bd:66:ff:e3:a0:99:10:5e:b2 [email protected] [root@changemyname ~]# ssh-copy-id -i .ssh/id_dsa.pub [email protected] 15 [email protected]'s password: Now try logging into the machine, with "ssh '[email protected]'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. Server 2 ======= [root@psmtpnyv1l kumartech]# ls -ld .ssh/ drwx------ 2 kumartech kumartech 4096 Feb 17 12:20 .ssh/ [root@psmtpnyv1l ctstech]# ls -la .ssh/ total 24 drwx------ 2 kumartech kumartech 4096 Feb 17 12:20 . drwx------ 6 kumartech kumartech 4096 Feb 17 12:20 .. -rw------- 1 kumartech kumartech 617 Feb 17 12:20 authorized_keys >From server 1: ========== [root@changemyname ~]# ssh [email protected] Last login: Fri Feb 17 06:00:05 2012 from 10.1.44.207 [kumartech@psmtpnyv1l ~]$ Thank You, R. Kumaraswamy Email id: [email protected] Now i am At Bangalore +91 9880014908 Mobile At Tamilnadu +91 9944358860 My Bookmark website <http://www.mya2zurls.com/rkskumar/> ----- Stand up, be bold, and take the blame on your own shoulders. Do not go about throwing mud at others; for all the faults you suffer from, you are the sole and only cause. On Fri, Feb 17, 2012 at 10:31 PM, Jeremiah Bess <[email protected]>wrote: > Oooo! I can help with this. I use this all the time, love it. > > The bletchley.domain_not_set.invalid is the name of the computer you > are SSHing from. That really doesn't have anything to do with passwordless > login. > > 1. Do you have the your public key saved in the ~/.ssh/authorized_keys > file on your SSH server? > 2. What are the permissions on that file? > > > > 1. What are the permissions on that folder? > > Change the permissions of .ssh to 700 > > 1. Have you altered the /etc/ssh/sshd_config on the server to have the > line, "PubkeyAuthentication yes" > 2. On your SSH client, do you have your public key saved in > ~/.ssh/id_rsa or ~/.ssh/id_dsa? > 3. What are the permissions on that file? > 4. What are the permissions on that folder? > > Let's work with that stuff first. > > Jeremiah E. Bess > Network Ninja, Penguin Geek, Father of five. > > <https://plus.google.com/u/0/103182072532361592558> > <https://www.facebook.com/jeremiahbess> > <http://www.linkedin.com/profile/view?id=47451026> > > > > On Fri, Feb 17, 2012 at 09:46, Scott Vargovich <[email protected]>wrote: > >> Here's my pastebin: >> >> http://pastebin.com/QcVqVqDR >> >> I tried to set up passwordless login by following this page: >> >> >> http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/ >> >> I tried commenting out the 'domain_not_set.invalid' line in >> /etc/resolv.conf, which did nothing. >> >> I'm running Arch Linux. I'm not sure if the domain not set issue is >> related to my trying to set up passwordless login. The first time I >> noticed it was right after I tried this hack. I searched duckduckgo.comand >> couldn't find a solved mailing list post. HELP?!?!?! >> >> Thanks, >> -- >> <>< Scott Vargovich <>< >> ------------------------------------------ >> OpenPGP Key ID: F8F5DC7E >> ------------------------------------------ >> >> -- >> You received this message because you are subscribed to the Linux Users >> Group. >> To post a message, send email to [email protected] >> To unsubscribe, send email to >> [email protected] >> For more options, visit our group at >> http://groups.google.com/group/linuxusersgroup >> References can be found at: http://goo.gl/anqri >> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor >> http://cdn.fsdev.net/List-Rules.pdf) >> > > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > References can be found at: http://goo.gl/anqri > Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor > http://cdn.fsdev.net/List-Rules.pdf) > -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)
