Permission Denied

From: Martin Perez (Martin.Perez_at_metcash.com)
Date: 05/27/04

  • Next message: Naim: "Speed"
    To: secureshell@securityfocus.com
    Date: Thu, 27 May 2004 15:26:26 +1000
    
    

    Hi,
    I have install cygwin on two Standard edition 2003 servers with OpenSSH
    3.8p1-1 on both using rsa1. METWEBDEV1 is my sshd server and METWEB2 is the
    ssh client. The SSHD debugging shows:

    $ /usr/sbin/sshd -f /etc/sshd_config -ddd
    debug2: read_server_config: filename /etc/sshd_config
    debug1: sshd version OpenSSH_3.8.1p1
    debug1: private host key: #0 type 0 RSA1
    debug1: Bind to port 22 on 10.53.100.58.
    Server listening on 10.53.100.58 port 22.
    Generating 768 bit RSA key.
    RSA key generation complete.
    debug1: Server will not fork when running in debugging mode.
    Connection from 10.53.180.2 port 2324
    debug1: Client protocol version 1.5; client software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Local version string SSH-1.5-OpenSSH_3.8.1p1
    debug1: Sent 768 bit server key and 1024 bit host key.
    debug1: Encryption type: 3des
    debug2: cipher_init: set keylen (16 -> 32)
    debug2: cipher_init: set keylen (16 -> 32)
    debug1: Received session key; encryption turned on.
    debug1: Installing crc compensation attack detector.
    debug1: Attempting authentication for sshuser.
    debug1: temporarily_use_uid: 1007/513 (e=1007/513)
    debug1: trying public RSA key file /.ssh/authorized_keys
    debug1: restore_uid: (unprivileged)
    Failed rsa for sshuser from 10.53.180.2 port 2324
    debug1: rcvd SSH_CMSG_AUTH_TIS
    Failed challenge-response for sshuser from 10.53.180.2 port 2324
    Connection closed by 10.53.180.2
    debug1: do_cleanup

    And the SSH debugging shows:

    $ ssh -l sshuser sshuser@metwebdev1 -vvv
    OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to metwebdev1 [10.53.100.58] port 22.
    debug1: Connection established.
    debug1: identity file /home/sshuser/.ssh/identity type 0
    debug1: Remote protocol version 1.5, remote software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Local version string SSH-1.5-OpenSSH_3.8.1p1
    debug1: Waiting for server public key.
    debug1: Received server public key (768 bits) and host key (1024 bits).
    debug3: check_host_in_hostfile: filename /home/sshuser/.ssh/known_hosts
    debug3: check_host_in_hostfile: match line 1
    debug3: check_host_in_hostfile: filename /home/sshuser/.ssh/known_hosts
    debug3: check_host_in_hostfile: match line 1
    debug1: Host 'metwebdev1' is known and matches the RSA1 host key.
    debug1: Found key in /home/sshuser/.ssh/known_hosts:1
    debug1: Encryption type: 3des
    debug1: Sent encrypted session key.
    debug2: cipher_init: set keylen (16 -> 32)
    debug2: cipher_init: set keylen (16 -> 32)
    debug1: Installing crc compensation attack detector.
    debug1: Received encrypted confirmation.
    debug1: Trying RSA authentication with key '/home/sshuser/.ssh/identity'
    debug1: Server refused our key.
    debug1: Doing challenge response authentication.
    debug1: No challenge.
    Permission denied.

    Please help I have spend a week attaempting to get this.

    Martin Perez

    Kind Regards,
    Martin Perez
    Analyst Programmer
    E-Trade Web Services
    Metcash Trading Limited
    Fax: 8846 5599
    Phone: 8846 5527

    348 Victoria Rd, Rydalmere 2116
    martin.perez@metcash.com


  • Next message: Naim: "Speed"

    Relevant Pages

    • Re: OPENSSH 3.4p1-3 on AIX 4.3.3
      ... Teh debug output from the server is exactly the same, ... >another port. ... >reverse dns setup properly for that client? ... >debug1: Server will not fork when running in debugging mode. ...
      (SSH)
    • Re: OPENSSH 3.4p1-3 on AIX 4.3.3
      ... Teh debug output from the server is exactly the same, ... another port. ... reverse dns setup properly for that client? ... debug1: Server will not fork when running in debugging mode. ...
      (SSH)
    • Re: Server refusing connection.
      ... the command line through my PuTTY client, but I cannot load the URLs ... I need some assistance to figure out why my ssh server is refusing my ... debug1: read PEM private key done: type RSA ... Server listening on 0.0.0.0 port 22. ...
      (comp.security.ssh)
    • Non root scp problem
      ... This is a production web server and the webmaster uses a non-root account to copy files constantly. ... debug1: Connecting to ares port 22. ... invalid collation element ...
      (SSH)
    • Re: SSH cant connect
      ... I can ssh to any of my laptops on my local lan but not across the internet. ... Starting sshd: debug1: sshd version OpenSSH_5.4p1 ... Server listening on 0.0.0.0 port 22. ...
      (Fedora)