RE: Going MAD trying to get scp working on Solaris8 (SSH-2.0-OpenSSH_ 3.4p1) - Pleeeese Help.

From: Mak, Andrew (Andrew.Mak_at_team.telstra.com)
Date: 06/19/03

  • Next message: Jerome Dsilva: "Re: sshd putty and DSA"
    Date: Thu, 19 Jun 2003 08:46:50 +1000
    To: "Wright, Gary" <Gary.Wright@uk.experian.com>, <secureshell@securityfocus.com>
    
    

    Gary,

    Have you generate a key pair with no passphrase and inserted the public key of the pair to the file /users/oraprod/.ssh/authorized_keys?

    > Regards
    Andrew Mak
    DMO Systems Management - Telstra

    > -----Original Message-----
    > From: Wright, Gary [mailto:Gary.Wright@uk.experian.com]
    > Sent: Tuesday, June 17, 2003 11:39 AM
    > To: 'secureshell@securityfocus.com'
    > Subject: Going MAD trying to get scp working on Solaris8
    > (SSH-2.0-OpenSSH_ 3.4p1) - Pleeeese Help.
    >
    >
    >
    >
    > I have now been struggling for ages to get scp working so that I can copy
    > files between Solaris8 servers.
    > As soon as I can get it working, I need to place the scp copy commands
    > within a script for overnight batch jobs etc etc...
    >
    > I am using DSA ssh2 keys and CAN copy files by entering a password - no
    > good for scripts :-(
    > However, no matter what I do, it appears that SSH only wants to use password
    > or keyboard-interactive as authentication means.
    >
    > Please refer to a typical scp -v command shown below :-
    >
    > debug3: check_host_in_hostfile: filename /users/oraprod/.ssh/known_hosts
    > debug3: check_host_in_hostfile: match line 1
    > debug3: check_host_in_hostfile: filename /users/oraprod/.ssh/known_hosts
    > debug3: check_host_in_hostfile: match line 1
    > debug1: Host 'devbox' is known and matches the RSA host key.
    > debug1: Found key in /users/oraprod/.ssh/known_hosts:1
    > debug1: bits set: 1557/3191
    > debug1: ssh_rsa_verify: signature correct
    > debug1: kex_derive_keys
    > debug1: newkeys: mode 1
    > debug1: SSH2_MSG_NEWKEYS sent
    > debug1: waiting for SSH2_MSG_NEWKEYS
    > debug1: newkeys: mode 0
    > debug1: SSH2_MSG_NEWKEYS received
    > debug1: done: ssh_kex2.
    > debug1: send SSH2_MSG_SERVICE_REQUEST
    > debug1: service_accept: ssh-userauth
    > debug1: got SSH2_MSG_SERVICE_ACCEPT
    > debug1: authentications that can continue: password,keyboard-interactive
    > debug3: start over, passed a different list password,keyboard-interactive
    > debug3: preferred publickey
    > debug1: no more auth methods to try
    > Permission denied (password,keyboard-interactive).
    > debug1: Calling cleanup 0x3f4d0(0x0)
    > lost connection
    >
    >
    > Notice that SSH is stating that authentications it can use are password or
    > keyboard-interactive only - This must be set in the master sshd_config or
    > config file
    > but I can't see it. I've added the following line to sshd_config but it
    > makes no difference.
    >
    > AllowedAuthentications publickey,password,hostbased
    >
    > Can anyone please suggest how I can configure SSH to try using publickey
    > encryption - Think I'm going mad......!!!!!!!
    >
    > Best Regards,
    >
    > Gary.
    >
    >
    >
    >
    >
    >
    >
    > =======================================================================
    > Information in this email and any attachments are confidential, and may
    > not be copied or used by anyone other than the addressee, nor disclosed
    > to any third party without our permission. There is no intention to
    > create any legally binding contract or other commitment through the use
    > of this email.
    > Experian Limited (registration number 653331).>
    > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
    >


  • Next message: Jerome Dsilva: "Re: sshd putty and DSA"