Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-17-2005, 06:37 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
problem with SSH-KEYGEN with some server

Hi there,
i used the method to generate PKI keys using the description from
The command to create public key and private key is basically ssh-keygen -t rsa. After that I then copy the public key to the server that I want to connect to. The purpose of me doing this is that I want to connect to server directly therefore without entering any password. Actually, i managed to connect to the server directly for one server without entering the passwd by using this method. But when i tried the same method with another server I had to key in my passwd. I was just wondering, are there any settings in the server which may have caused this method not to work? Any help will be appreciated.thx
Old 08-17-2005, 10:35 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
It's possible that the server has disabled public key authenticagtion or that its SSH server software doesn't support it (older versions of some ssh daemons do not). Can you check the server's sshd.conf file and what version of SSH it'srunning (if you use -v to ssh it should print out the server's banner).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
how can i create a ssh-keygen for user?? yenonn Linux - General 1 06-14-2005 10:37 PM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 02:40 PM
ssh-keygen problem mijohnst Linux - Networking 5 07-20-2004 01:00 PM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 05:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration