trying to use keys...been asked a bunch, didn't find many solutio ns

From: Gabriel Mino (gmino_at_pcsltd.com)
Date: 06/20/03

  • Next message: Pablo Allietti: "Re: sshd putty and DSA"
    To: "'secureshell@securityfocus.com'" <secureshell@securityfocus.com>
    Date: Thu, 19 Jun 2003 18:11:36 -0400
    
    

    I apologize in advance since I can see that this question is asked a whole
    lot but, damn if I am unable to get this to work. I am continually asked for
    passwd. *shrug* what gives?

    Trying to set up ssh so that it can be used in a cron script per many
    articles similar to
    http://www.hackinglinuxexposed.com/articles/20021226.html

    # ssh -v 12.35.8.13
    OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
    debug1: Reading configuration data /usr/local/etc/ssh_config
    debug1: Rhosts Authentication disabled, originating port will not be
    trusted.
    debug1: Connecting to 12.35.8.13 [12.35.8.13] port 22.
    debug1: Connection established.
    debug1: identity file /.ssh/rsync type 2
    debug1: Remote protocol version 2.0, remote software version OpenSSH_3.6.1p2
    debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-cbc hmac-md5 none
    debug1: kex: client->server aes128-cbc hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host '12.35.8.13' is known and matches the RSA host key.
    debug1: Found key in /.ssh/known_hosts:10
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue:
    publickey,password,keyboard-interacti
    ve
    debug1: Next authentication method: publickey
    debug1: Offering public key: /.ssh/rsync
    debug1: Authentications that can continue:
    publickey,password,keyboard-interacti
    ve
    debug1: Next authentication method: keyboard-interactive
    debug1: Authentications that can continue:
    publickey,password,keyboard-interacti
    ve
    debug1: Next authentication method: password
    bob@12.35.8.13's password:


  • Next message: Pablo Allietti: "Re: sshd putty and DSA"

    Relevant Pages

    • Re: ssh on AIX 4.3.3
      ... debug1: Next authentication method: publickey ... debug1: Next authentication method: keyboard-interactive ... ownerships and permissions on the remote server. ...
      (comp.unix.aix)
    • Public key authentication fails
      ... I am trying to set up public key authentication between two linux boxes ... debug1: Connecting to remotebox.com port 22. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Next authentication method: keyboard-interactive ...
      (comp.security.ssh)
    • Key-based authentication in SSH with Sun Directory Server 6.3 (On Solaris 10 client)
      ... I'm having problems with key-based authentication on one of my Solaris ... debug1: Connection established. ... # rlogin service (explicit because of pam_rhost_auth) ... # Default definitions for Authentication management ...
      (comp.unix.solaris)
    • Re: pubkey authorisation problem - how to setup a secure ssh
      ... the authentication still doesn't work. ... debug3: start over, passed a different list publickey,keyboard-interactive ... debug1: Next authentication method: keyboard-interactive ...
      (comp.security.ssh)
    • LDAP Authentication via SSH
      ... authenticate via SSH to the LDAP server. ... debug1: Connecting to ldapclient.domain port 22. ... debug1: Next authentication method: keyboard-interactive ... # rlogin service (explicit because of pam_rhost_auth) ...
      (SunManagers)