Read the article that everyone's commenting on.
Subscribe to the RSS Feed for comments on this article.
It seems as though sftp and ssh CAN NOT BE USED together.
When I invokes sftp (first) the server asks me to authenticate the public key then continues conneting.
Afterwards when I invoke ssh I receive a msg indicating the key is already present and it WILL NOT connect.
Any suggestions
Posted by: Tamra Mitchell at August 9, 2005 7:16 AMIt sounds like a configuration issue on your server side. I regularly do exactly what you describe without problems, on several servers.
Posted by: Leo at August 12, 2005 7:19 PMGreat article! I'm using FTPShell which requires the private key to be in the PEM format. Can I convert PuttyGen's PPK output to PEM? If not, there another program that can generate a PEM formatted private key?
Posted by: Kevin at September 24, 2005 10:15 AMPuttyGen allows to export in different formats. I've done exactly that.
Posted by: Leo at September 24, 2005 10:22 AMUsing Putty Key Generator, if I choose "Save Private Key", the only "save as" file type is ppk.
There are also two Conversion options, "Export OpenSSH Key" and "Export ssh.com Key" Neither of these options provide a specific file type such as PEM.
How does one generate a PEM formatted private key?
Posted by: Kevin at September 24, 2005 6:23 PMHi,
Can u Please explain me
how can we use the keygen tool generate the public key authentication in unix so that i need to use that in the java programs
in Clear:
I am generating the key pair using keygen tool in unix and using that keys in java programs where it is failing.
can we use like this?
please clarify
Thanks & Regards
KR
how do i i add the public key on server side. if my machine is server how can i add the public key
Posted by: kiran at January 20, 2006 6:21 AMHi,
Do we have any open source to manage keys? Any open source to give certificate of authenticity?
Regards,
Vineet
Hi ive been researching on this topic for 3 days and now that im so close it seems to some what fustrating not to get the sftp server up and running as i would like.
My question is how should i add the public keys to my server? do i just copy and paste the text into the server end
"security certificate" in the allocated place for public keys and viseversa in the client end for the private keys etc?
please help
thanks
paul
Posted by: paul at June 18, 2007 8:59 AM-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Public keys are placed in the file authorized_keys in the .ssh sub directory of
the account's home directory. It's definitely a particular format, a single
line:
ssh-rsa TypicallyLongPublicKeyValue
and probably needs a particular permission setting. I typically set the file
and the .ssh directory to be rw and rwx respectively for the owning account
only).
Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
iD8DBQFGdsMBCMEe9B/8oqERAub9AJsF9n8oP/Hwd2IugrVjruLcaYrWywCeKFe8
ZSAhEqhBqNs8lMYiDLUrQBI=
=0GIJ
-----END PGP SIGNATURE-----
To post a comment on "How do I create and use Public Keys with SSH?", please return to that article's main page.