|
|||||||||||
|
Problems with passwordless ssh/scp (W2K client , Solaris 8 server).
From: David Liber <david.liber(at)the401kcompany.com>
Date: Tue Jul 29 2003 - 18:47:12 EDT
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:
# This is the ssh client system-wide configuration file. See
# Configuration data is parsed as follows:
# Site-wide defaults for various options
Host *
Any ideas on how I can have the password disabled for the ssh/scp and what I did wrong so far?
Thanks,
<<< Here is the excerpt from the verbose command that may show why I cannot perform the passwordless commands $ ssh -v -l tuxedo tuxstage3
debug1: Connecting to tuxstage3 [192.168.186.67] port 22. debug1: Connection established. debug1: identity file /cygdrive/c/.ssh/identity type -1 debug1: identity file /cygdrive/c/.ssh/id_rsa type 1 debug1: identity file /cygdrive/c/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.6.1p1 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 'tuxstage3' is known and matches the RSA host key. debug1: Found key in /cygdrive/c/.ssh/known_hosts:1 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-interactive debug1: Next authentication method: publickey debug1: Trying private key: /cygdrive/c/.ssh/identity debug1: Offering public key: /cygdrive/c/.ssh/id_rsa debug1: Authentications that can continue:publickey,password,keyboard-interactive debug1: Trying private key: /cygdrive/c/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue:publickey,password,keyboard-interactive debug1: Next authentication method: password tuxedo@tuxstage3's password: >>>
At the red signing location above I actually expected to get something back
from the SSH server such below (sign that it worked), but I didn't and I
cannot figure out why:
debug1: Next authentication method: publickey debug1: Trying private key: /cygdrive/c/.ssh/ident ity debug1: Offering public key: /cygdrive/c/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 0x100f90e0 hint 1 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey).>>> Any help is appreciated... Received on Tue Jul 29 19:08:22 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:01 EDT |
||||||||||
|
|||||||||||