Basic Question (s) on how SSH Works.

From: Sreelatha (sreelathas@yahoo.com)
Date: 04/22/02


From: sreelathas@yahoo.com (Sreelatha)
Date: 22 Apr 2002 06:18:24 -0700

Hi,
        Basic questions about how SSH works.

Say I have a windows 2000 machine which has the SSHD(OpenSSH Server)
running. And I have 3 users U1 U2 and U3 on the server. I created the
key pair for U1 using the ssh-keygen.exe of type DSA.

        Question No. 1 How do i create public-private keys for each of the
users? When I login as U2 to the machine and run the ssh-keygen it
asks me whether i wnat to rewrite the existing id_dsa file. This is
the file as I created for User U1. What should be done to create the
key pairs for all the users on the server.?

Say I have to access this server from 3 different machines.
        Question No. 2 Do I Copy the public key of each of the user in the
Server to these client machines? Where do I copy them. Say for each
session I might be logging in as a different user. My ssh client would
be a perl program trying to communicate with the the server. The user
name would be known only at the run time. So inorder to use the public
key authentication method do I copy the public keys to the client
machine?? If so to which file?? Which directory??

Thanks a lot in advance.

Sreelatha



Relevant Pages

  • Re: =?ISO-8859-15?Q?Verschl=FCsselung?=
    ... Daten, die ein anderer, authorisierter Client irgendwann abruft. ... Zugriff auf den Server bekommt, ... Irgendwas scheinst du bei Public Keys zu verwechseln... ... soll) dann kannst du einen "Haupt-Client" definieren, der eine Nachricht ...
    (de.comp.security.misc)
  • Re: Certificate Server - second attempt!
    ... Could you just exlain how the public keys are usually published? ... >> to simplify the process of generating a certificate and installing the ... >> private key on the client. ... >> Would it be normal practice to generate the key locally on the server, ...
    (comp.os.linux.security)
  • Re: Certificate Server - second attempt!
    ... Could you just exlain how the public keys are usually published? ... >> to simplify the process of generating a certificate and installing the ... >> private key on the client. ... >> Would it be normal practice to generate the key locally on the server, ...
    (comp.os.linux.security)
  • Re: ssh questions on correct use (works already on Suse 7.2)
    ... Do you need to remove the key pair identity and identity.pub after you ... > would only have to be the private key identity right? ... > But i can still login giving my username and password via SSH. ... sshd_config (server). ...
    (comp.security.ssh)
  • Re: ssh questions on correct use (works already on Suse 7.2)
    ... Do you need to remove the key pair identity and identity.pub after you ... > would only have to be the private key identity right? ... > But i can still login giving my username and password via SSH. ... sshd_config (server). ...
    (comp.security.ssh)