Connect to a linux box from Windows using RSA authentication

From: José Luiz do Nascimento Silva (jlnsilva_at_fazenda.sp.gov.br)
Date: 09/02/04

  • Next message: MBuselli_at_cccis.com: "Re: Execute shell without auth"
    Date: Thu, 02 Sep 2004 18:33:47 -0300
    To: secureshell@securityfocus.com
    
    

    Hi,

    I'm trying to connect to a linux box from Windows using RSA
    authentication. I've created the keypair, transferred the public key to
    server, moved it to ~/.ssh2/key.pub and made echo "Key key.pub" >>
    authorization.

    On the client I've got IdKey key in the identification file. This is
    what I get:
    ..
    debug: Ssh2AuthPubKeyClient: Trying 1 key candidates.
    debug: server offers auth methods 'publickey,password,keyboard-interactive'.
    debug: Ssh2AuthPubKeyClient: All keys declined by server, disabling method.
    debug: Ssh2AuthClient: *Method 'publickey' disabled.*
    ..

    What's wrong, why does the server decline the keys?

    The server is OpenSSH_3.7.1p1, client is SSH Secure Shell 3.2.9 Windows
    Client.

    Thanks.

    -- 
    José Luiz do Nascimento Silva
    Administrador de Rede 
    PRODESP - Secretaria de Estado dos Negócios da Fazenda de São Paulo
    Departamento de Tecnologia da Informação
    Segurança da Informação
    DTISegurança
    Fones: 3243-4266/direto
           3243-3400/rms:4266/4777 
                 
    

  • Next message: MBuselli_at_cccis.com: "Re: Execute shell without auth"

    Relevant Pages

    • Re: Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • [NT] Dark Age of Camelot Man-In-The-Middle
      ... use of RSA public key cryptography and an RC4 based symmetric algorithm. ... Seeing the imminent release of code for cracking the game client (which ... At the beginning of each TCP session, the server sends a 1536 bit RSA ... void bytes_out(unsigned char *data, int len) ...
      (Securiteam)
    • Re: Debian SSH server configuration
      ... I would like to configure a Debian server to only allow clients to ssh ... I don't want any client computers to be able to ssh into ... It sounds like what you are asking for is host based authentication, ... where the server check to make sure that it has the host public key ...
      (Debian-User)
    • Re: Basics of key authentication
      ... The public key gets copied to the server, ... and the client decrypts it with its private key to prove he is who he ... and the digital signature to the server. ...
      (comp.security.ssh)
    • Re: hostbased auth between commercial and OpenSSH
      ... The server just rejects hostbased from OpenSSH client saying method is ... Client side debug snippet (I've got hostbased as only ... client user 'myusername', server user 'myusername', ...
      (comp.security.ssh)