![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to use ssh-keygen to login to a UNIX box | codeman007 | Shell Programming and Scripting | 1 | 10-17-2008 01:34 AM |
| SSH-Keygen script | jagnikam | Shell Programming and Scripting | 4 | 10-09-2008 06:34 PM |
| ssh-keygen questions (not working) | tekline | UNIX for Advanced & Expert Users | 10 | 09-01-2008 09:17 PM |
| DNS configuration problem | raylai | IP Networking | 2 | 03-03-2006 02:46 AM |
| ssh-keygen trust problem | PaulC | SuSE | 4 | 04-21-2005 09:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
ssh-keygen configuration problem
I am unable to set password less entry from one server to another even after i have generated public key and have put in the authorized_keys of the target server. When i try to debug the ssh using ssh -v, it gives me
debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/sasdemo/.ssh/identity debug1: Offering public key: /home/sasdemo/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering public key: /home/sasdemo/.ssh/id_dsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug2: we did not send a packet, disable method debug1: Next authentication method: keyboard-interactive debug2: userauth_kbdint debug2: we sent a keyboard-interactive packet, wait for reply also .. just to test, when i did $cat id_dsa.pub | ssh user@server_id 'cat >> ~/.ssh/authorized_keys' it asked for the password and then gave the error message bsh: ~/.ssh/authorized_keys: 0402-011 Cannot create the specified file. Any suggestions ???? Can bean shell be a problem ??? |
|
||||
|
It could be a filesystem problem: ssh does not like it when the filemode is set too generous. It should be "600", the important thing being "00" for group and world. Depending on your ssh version and the architecture you're running this might be a problem.
I hope this helps. bakunin |
|
||||
|
any one with any suggestion ?????????
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, ssh-keygen, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|