Hi Dude

Server 1
======
[root@changemyname ~]# cd .ssh/
[root@changemyname .ssh]# scp -P portnumber id_dsa.pub
[email protected]:.
[email protected]'s password:
id_dsa.pub
                   100%  617     0.6KB/s   00:00


Server 2
======
[root@psmtpnyv1l ctstech]# ls -l
total 36
-rw-r--r-- 1 ctstech ctstech  617 Feb 17 12:59 id_dsa.pub

[root@psmtpnyv1l ctstech]# mkdir  .ssh
[root@psmtpnyv1l ctstech]# ls -la .ssh/
total 16
drwxr-xr-x 2 root    root    4096 Feb 17 13:02 .
drwx------ 6 ctstech ctstech 4096 Feb 17 13:02 ..

[root@psmtpnyv1l ctstech]# chown 600 id_dsa.pub
[root@psmtpnyv1l ctstech]# mv id_dsa.pub .ssh/authorized_keys

[root@psmtpnyv1l ctstech]# mv id_dsa.pub .ssh/authorized_keys

[root@psmtpnyv1l ctstech]# cd -
/home/ctstech/.ssh

[root@psmtpnyv1l .ssh]# ls -lh
total 8.0K
-rw-r--r-- 1 600 ctstech 617 Feb 17 12:59 authorized_keys


Have you tried this cmd

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 11:19 PM, Scott Vargovich <[email protected]>wrote:

> Ok - here are the answers to your battery of questions...
>
> 1.  Yes
> 2.
> -rw------- 1 scott scott  793 2010-10-08 15:01 authorized_keys
> -rw------- 1 scott scott  670 2011-08-12 14:19 authorized_keys2
>
> The pub key is saved in the authorized_keys file.
>
> 3.
> drwx------   2 scott scott        117 2012-02-17 10:53 .ssh
>
> 4.  Yes
> 5.
> scott@bletchley:~/.ssh$ ls
> authorized_keys  known_hosts
>
> 6.  No file to have permissions on.
> 7.
> drwx------  2 scott users 4096 Feb 17 11:07 .ssh
>
> It appears I have fubared copying the server's pub key to the client.  I
> use a high non-standard port for openssh_server, so the copy command didn't
> work properly.  What would be the easiest way to copy that file using a
> port other than 22 for openssh_server?
>
> On Fri, Feb 17, 2012 at 12:01 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?
>>    3. What are the permissions on that folder?
>>    4. Have you altered the /etc/ssh/sshd_config on the server to have
>>    the line, "PubkeyAuthentication yes"
>>    5. On your SSH client, do you have your public key saved in
>>    ~/.ssh/id_rsa or ~/.ssh/id_dsa?
>>    6. What are the permissions on that file?
>>    7. 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)
>>
>
>
>
> --
> <><  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-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

Reply via email to