Re: passpharse configuration



kamZ <kamesh.84@xxxxxxxxx> wrote:
Hi all,

First I generated a key using ssh-keygen -rsa

I'm assuming that you use an OpenSSH *client* on a unix-like system.
That's right ? The ssh-keygen *must* be done on the client side..

It asked for passpharse and file location
The command created two files

1. Id_rsa
2. Id_rsa.pub

I copy the id_rsa.pub in my local machine(Windows) in the file
authorized_keys

What do yo mean by "local machine" ? The id_rsa.pub file must go in the
authorized_keys key on the *Server* side.

But it is asking my original password to login.
It is not asking my passpharse.

What should I need to do next?


You need to provide more information about your setup.. What's the
server, what's the client. They run with OS, What SSH client/server
etc...


If you use a Unix-like client with OpenSSH:
-------------------------------------------
You need to use use ssh-agent and ssh-add to load the key ... There's
many way to do it... ssh-agent should run and have the right
environnement variables set to begin with. After you can use ssh-add to
add the key to the agent, it will ask you for the paraphrase at this
time. But if you want to start ssh-agent properly automatically on
startup, it's depend on your setup. On some OS, ssh-agent start by
default with Xwindows whensome "id_rsa" or "id_dsa" are present in your
~/.ssh directory. if it's the case.. you only have to call "ssh-add"
once that that's it.

Look at the "ssh-agent" and "ssh-add" manpage for more details.

If you use Windows as a client using PuTTY:
------------------------------------------
In that case.. you have to generate the key with "PuTTYgen" and copy the
public key to the authorized_keys file on the server side. Use Pageant
to load your private key (equivalent of the ssh-agent/ssh-add with
OpenSSH). And your puTTY is ready to connect to your server using your
key.


[snip]

--
Martin
.



Relevant Pages

  • Announce: OpenSSH 4.2 released
    ... OpenSSH 4.2 has just been released. ... implementation and includes sftp client and server support. ...
    (SSH)
  • Re: openssh + putty interoperability
    ... > OpenSSH to a combination of Dropbear (presumably server) and PuTTY ... > (presumably client); so where does OpenSSH come into the question? ...
    (comp.security.ssh)
  • Re: Incorrect protocol implementation by OpenSSH?
    ... when the server receives an SSH_MSG_CHANNEL_REQUEST message to ... SSH_MSG_CHANNEL_REQUEST message sent by the OpenSSH client contains a 0 ... OpenSSH client is not. ... single command lines. ...
    (comp.security.ssh)
  • Re: OpenSSH_3.5p1 server, PC clients cannot connect
    ... This is a new installation of OpenSSH on this server. ... Here are some additional notes from the logs, and from the client side: ... dies immediately after this DEBUG log entry: ...
    (SSH)
  • [djm@cvs.openbsd.org: OpenSSH 4.0 released]
    ... OpenSSH 4.0 has just been released. ... implementation and includes sftp client and server support. ... AllowGroups and DenyGroups (Bugzilla #909) ...
    (FreeBSD-Security)