Re: Problems with passwordless ssh/scp (W2K client , Solaris 8 server).

From: John A. Sullivan III (john.sullivan_at_nexusmgmt.com)
Date: 07/30/03

  • Next message: Greg Wooledge: "Re: Problems with passwordless ssh/scp (W2K client , Solaris 8 server)."
    To: David Liber <david.liber@the401kcompany.com>
    Date: 29 Jul 2003 19:21:50 -0400
    
    

    Such a set up is working very well for us in the ISCS project. Have you
    verified the file ownership and permissions of the authorized_keys file?

    On Tue, 2003-07-29 at 18:47, David Liber wrote:
    > Hi,
    >
    > I am trying to use a passwordless ssh/scp from some ANT scripts. That is I
    > want to be able to execute ssh and scp from my ANT scripts at night time,
    > when I am not around to type in passwords.
    >
    > So far I have tried few things, and none of them worked. Here is my
    > configuration for the ssh client and server. At this point I am not sure
    > where to take it from here to get it going:
    >
    > 1) W2K client. Installed cygwin with the latest ssh (OpenSSH_3.6.1p1, SSH
    > protocols 1.5/2.0, OpenSSL 0x0090702f).
    > 2) Generated a public key by running 'ssh-keygen -t rsa'. Left passphrase
    > *empty* (this is to avoid password prompting). As the result, a private key
    > file 'id_rsa' and public key file 'id_rsa.pub' will be generated in your
    > ${HOME}/.ssh directory.
    > 3) I then scp-ed the id_rsa.pub file to the remote UNIX ssh server machine.
    > On the remote server machine I copied the is_rsa.pub to
    > ~/.ssh/authorized_keys2
    > 4) The SSH server configuration is a pretty standard configuration (Solaris
    > 8):
    > <<<
    > $ pwd
    > /etc/ssh
    > $ ssh -V

    -- 
    John A. Sullivan III
    Chief Technology Officer
    Nexus Management
    +1 207-985-7880
    john.sullivan@nexusmgmt.com
    ---
    If you are interested in helping to develop a GPL enterprise class
    VPN/Firewall/Security device management console, please visit
    http://iscs.sourceforge.net 
    

  • Next message: Greg Wooledge: "Re: Problems with passwordless ssh/scp (W2K client , Solaris 8 server)."