- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RSA key generation!!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 04:27 AM
тАО08-23-2004 04:27 AM
RSA key generation!!
redhat 7.1
ajay@sshserver ajay$ssh-keygen
generated key pair and given passphrase
ajay@sshserver ajay$cd .ssh
ajay@sshserver .ssh$cat identity.pub > authorized_keys
ajay@sshserver .ssh$chmod 644 authorized_keys
copy identity(private key) to my windows box. thru putty ..using private key(identity) by typing passphrase i can login to my sshserver.
redhat 7.3, 9 ..
kumar@sshserver1 kumar$ssh-keygen -t rsa
generated key pair and given passphrase
kumar@sshserver1 kumar$cd .ssh
kumar@sshserver1 .ssh$cat id_rsa.pub > authorized_keys
kumar@sshserver1 .ssh$chmod 644 authorized_keys
copy id_rsa to my windows box.thru putty ... using private key(id_rsa) i cant login to my sshserver1.
error is
no passphrase required.couldn't load public key
i tryed ssh-keygen instead of ssh-keygen -t rsa ...but in redhat 7.3 and 9 that dint work... may be ssh1 protocol not supported in 7.3 and 9..(in my idea)
how to solve this problem ??
please any one help me..i am really vex with this problem...
thanks in advance.
ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 06:59 AM
тАО08-23-2004 06:59 AM
Re: RSA key generation!!
Check the ssh versions & protocol dfference between the two Redhat releases.
#ssh -V
If the later versions are running ssh protocol 2, change the authorized_keys filename to authorized_keys2 and try again.
regds,
Abdul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 02:18 PM
тАО08-23-2004 02:18 PM
Re: RSA key generation!!
i tryed in that way...but still i cant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 08:28 PM
тАО08-23-2004 08:28 PM
Re: RSA key generation!!
Two possibilities come to my mind:
1.)
Some versions of PuTTY try SSH1 protocol first by default. When trying to use SSH2 keys, you must use SSH2 protocol.
2.)
SSH2 keys must be imported to PuTTY's native format (.PPK) using PuTTYgen, says PuTTY FAQ.
This is because there is no "standard" format for storing SSH2 keys: OpenSSH uses one format, the ssh.com commercial version uses another. Looks like you might have tried to use OpenSSH-like key directly without importing. That does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2004 01:48 AM
тАО08-24-2004 01:48 AM
Re: RSA key generation!!
why don't you create dsa keys using
ssh-keygen -t dsa and import them in the "authorized_keys2" file
Regards
Franky