Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Encrypt "identity" with aes256, not with des3: is ssh able to decrypt it

Subject: Encrypt "identity" with aes256, not with des3: is ssh able to decrypt it?
Date: Tue, 30 May 2006 09:59:18 +0200
Hi all!

Following situation:

as i generated my ssh-keys i noticed, that the encryption used to
store the private key set to des3.
So i saved the key using aes256, what succeeded without problems.

---
> cd .ssh

#Converted my dsa-key to plain
> openssl -in id_dsa -out key.plain

# encrypted the plain with aes256
> openssl enc -e -aes256 -in key.plain -out identity

# copy id_dsa.pub to identity.pub
cp id_dsa.pub identity.pub
---



The problem encountered as i tried to connect to a remote server, where
i placed my public key - the ssh seems to be unable to decrypt the key!

This is the output i got:

--------------
root@xen:~# ssh root@thor
Enter passphrase for key '/root/.ssh/identity':
Enter passphrase for key '/root/.ssh/identity':
Enter passphrase for key '/root/.ssh/identity':
[CTRL-C]
root@xen:~#
-----------

The password i used for testing was simple, so i have not
mistyped it, 100%-ly.


Who have an idea?


Thanks!


Vladimirs.








-- Heinlein Professional Linux Support GmbH http://www.heinlein-support.de Tel: +49 (30) 40 50 51 - 0 Fax: +49 (30) 40 50 51 - 19

<Prev in Thread] Current Thread [Next in Thread>
  • Encrypt "identity" with aes256, not with des3: is ssh able to decrypt it?, Vladimirs Vecgailis <=