Advertisement

05.11.2005 at 08:55AM PDT, ID: 21420647
[x]
Attachment Details

ssh connection without password prompt.

Asked by sathiyakum in Unix Network Security

Tags: , , ,

Hi,
I'm trying to configure ssh to log in without any password on the same sun unix box. Assuming the box name is : infodev and the OS user is : informat, the following line should work without prompting for the password but it is not.

infodev:/apps/informatica/.ssh> ssh -v infodev date

Below is the output of the above command:

OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004            
debug1: Reading configuration data /usr/local/etc/ssh_config                
debug1: Connecting to infodev [129.202.27.241] port 22.                      
debug1: Connection established.                                              
debug1: identity file /apps/informatica/.ssh/identity type -1                
debug1: identity file /apps/informatica/.ssh/id_rsa type -1                  
debug1: identity file /apps/informatica/.ssh/id_dsa type 2                  
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8p1  
debug1: match: OpenSSH_3.8p1 pat OpenSSH*                                    
debug1: Enabling compatibility mode for protocol 2.0                        
debug1: Local version string SSH-2.0-OpenSSH_3.8p1                          
debug1: SSH2_MSG_KEXINIT sent                                                
debug1: SSH2_MSG_KEXINIT received                                            
debug1: kex: server->client aes128-cbc hmac-md5 none                        
debug1: kex: client->server aes128-cbc hmac-md5 none                        
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent                    
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP                                  
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent                                        
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY                                  
debug1: Host 'infodev' is known and matches the RSA host key.                
debug1: Found key in /apps/informatica/.ssh/known_hosts:1                    
debug1: ssh_rsa_verify: signature correct                                    
debug1: SSH2_MSG_NEWKEYS sent                                                
debug1: expecting SSH2_MSG_NEWKEYS                                          
debug1: SSH2_MSG_NEWKEYS received                                            
debug1: SSH2_MSG_SERVICE_REQUEST sent                                          
debug1: SSH2_MSG_SERVICE_ACCEPT received                                        
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey                                  
debug1: Trying private key: /apps/informatica/.ssh/identity                    
debug1: Trying private key: /apps/informatica/.ssh/id_rsa                      
debug1: Offering public key: /apps/informatica/.ssh/id_dsa                      
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive                        
debug1: Authentications that can continue: publickey,password,keyboard-interacte
debug1: Next authentication method: password                                    
informat@infodev's password:                                                    


Any help on this is greatly appreciated. The permissions of .ssh directory and authorized_keys file are set as below:
-rwxrwxr-x   1 informat users        605 May 11 11:13 authorized_keys*

Thanks,
sathiyakum.
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.11.2005 at 06:50PM PDT, ID: 13983388

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.11.2005 at 07:15PM PDT, ID: 13983445

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 12:20AM PDT, ID: 13984123

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 08:21AM PDT, ID: 13987517

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 01:49PM PDT, ID: 13990917

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 02:01PM PDT, ID: 13991015

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 05:13PM PDT, ID: 13992264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2005 at 06:50PM PDT, ID: 13992585

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2005 at 01:59AM PDT, ID: 13994106

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 12:25PM PDT, ID: 14013312

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 12:42PM PDT, ID: 14013435

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.16.2005 at 06:26PM PDT, ID: 14015479

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Unix Network Security
Tags: password, ssh, without, prompt
Sign Up Now!
Solution Provided By: yuzh
Participating Experts: 6
Solution Grade: A
 
 
[+][-]05.16.2005 at 07:11PM PDT, ID: 14015623

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.18.2005 at 05:30AM PDT, ID: 14026364

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.18.2005 at 08:02AM PDT, ID: 14027739

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.23.2005 at 06:39PM PDT, ID: 14065139

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.23.2005 at 06:52PM PDT, ID: 14065167

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.10.2005 at 10:52AM PDT, ID: 14190901

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.26.2005 at 01:22AM PDT, ID: 14303005

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 10:58AM PST, ID: 15684456

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 12:12PM PST, ID: 15685283

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 02:10PM PST, ID: 15686542

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.29.2006 at 03:13PM PST, ID: 15819780

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 04:40AM PST, ID: 15862301

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32