Re: Help with OpenSSH -> SSH2 Server

From: Greg Wooledge (wooledg_at_eeg.ccf.org)
Date: 05/20/03

  • Next message: Rajkumar S: "Server-wide no-pty"
    Date: Tue, 20 May 2003 08:19:08 -0400
    To: secureshell <secureshell@securityfocus.com>
    
    

    On Mon, May 19, 2003 at 12:33:13PM -0700, Andrew n marshall wrote:
    > I'm still having the previously mentioned problems. But here is a new
    > data point... the verbose log.
    > The only thing strange I see is near the bottom:
    > debug1: next auth method to try is publickey
    > debug1: try privkey: /Users/user/.ssh/id_rsa
    > debug1: try pubkey: /Users/user/.ssh/id_dsa
    >
    > ~/.ssh/id_dsa is a PRIVATE key (the public key would be id_dsa.pub).
    > Why is it reading it as a pubkey?

    The ssh client reads the private key and uses it to prove its identity
    to the server, which holds the public key.

    > I also glanced at the file permissions, and they match my expectations
    > (600 for private, and 644 for public).

    Check the permissions on the directories, too -- the .ssh directory,
    and the home directory, and all the directories leading up to that.


  • Next message: Rajkumar S: "Server-wide no-pty"

    Relevant Pages

    • Re: TIPS FOR THE NEWCOMER
      ... As long as the private key is readable by the ssh client when it comes ... When the ssh client connects to the server, ... private key which matches the public key. ...
      (SSH)
    • Re: Encrypting using RSA private Key
      ... I find it strange because according to the following article: ... Data that is encrypted with the public key can only be decrypted with the ... data that is encrypted with the private key can be ... makes public key cryptography so useful. ...
      (microsoft.public.dotnet.security)
    • RE: PGP scripting...
      ... cryptosystems, ... In these systems divulging your private key compromises the public ... Here is a quick over view of the public key encryption routines (the ...
      (SecProg)
    • Re: Private & Public Key storage location
      ... with that you complete the 'certificate' to have both public and private key ... To view the complete cert, you access the cert mmc, ... its end & send only the public key to the CA along with the other websites ... The CA never know the private key of the website. ...
      (microsoft.public.inetserver.iis.security)
    • CryptImportKey NTE_BAD_KEY error.
      ... of the private key is just fine but when I try to import the public key I ... // This Asymetric key set will be used to create the Autherization Code. ... delete psBuffer; ...
      (microsoft.public.security)