![]() |
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 Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh keygen script in NFS environment | deo_kaustubh | Shell Programming and Scripting | 2 | 12-09-2008 09:20 AM |
| ssh-keygen configuration problem | brandedfundoo | UNIX for Advanced & Expert Users | 14 | 12-05-2008 10:13 PM |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
Am running the following commands on our server to generate a key for passwordless SSH, however we are getting 100% blank key files. E.g. when looking id_dsa.pub or id_dsa they are 100% empty - the files get created, but contain no content and have a file size of 0b. mkdir ~/.ssh chmod 0700 ~/.ssh ssh-keygen -t dsa -f ~/.ssh/id_dsa *no pass phrase is put in* 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: xx:xx:xx:xxx........ And then the files id_dsa amd id_dsa.pub are both empty. There but empty. Any ideas? I have tried all the various different options for CHMOD at the start, 777, 755, 666 etc ... I have also tried both with and without a password. All of them still give me an empty file. ![]() Last edited by gjp; 01-07-2009 at 02:44 PM.. |
|
||||
|
Is your SSL OpenSSL or something commercial? Your listing works perfectly fine for me. Try 'echo something > ~/.ssh/id_dsa', just to see if the system itself is having problems writing to that file for some reason.
[edit] Hah, I knew it. |
|
||||
Cheers |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|