Alright, so here's tonight's breakdown:
First off, this is the output from cron, the one that doesn't work:
From saw500@Sawtooth500s-Macbook-Pro-2.local Fri Nov 6 00:10:47 2009
X-Original-To: saw500
Delivered-To: saw500@Sawtooth500s-Macbook-Pro-2.local
From: saw500@Sawtooth500s-Macbook-Pro-2.local (Cron Daemon)
To: saw500@Sawtooth500s-Macbook-Pro-2.local
Subject: Cron <saw500@Sawtooth500s-Macbook-Pro-2> /Users/saw500/daylite.sh
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=saw500>
X-Cron-Env: <USER=saw500>
X-Cron-Env: <HOME=/Users/saw500>
Date: Fri, 6 Nov 2009 00:10:01 -0600 (CST)
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.99 [192.168.1.99] port 22.
debug1: Connection established.
debug1: identity file /Users/saw500/.ssh/identity type -1
debug3: Not a RSA1 key file /Users/saw500/.ssh/id_rsa.
debug2: key
type_fromname: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key
type_fromname: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key
type_fromname: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key
type_fromname: unknown key type '-----END'
debug3: key_read: missing keytype
Now this is the output when I put that command directly in the command line, this works:
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.99 [192.168.1.99] port 22.
debug1: Connection established.
debug1: identity file /Users/saw500/.ssh/identity type -1
debug3: Not a RSA1 key file /Users/saw500/.ssh/id_rsa.
debug2: key
type_fromname: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key
type_fromname: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key
type_fromname: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key
type_fromname: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/saw500/.ssh/id_rsa type 1
debug3: Not a RSA1 key file /Users/saw500/.ssh/id_dsa.
debug2: key
type_fromname: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key
type_fromname: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/saw500/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.2
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2
MSGKEXINIT sent
debug1: SSH2
MSGKEXINIT received
debug2: kex
parsekexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie- hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex
parsekexinit: ssh-rsa,ssh-dss
debug2: kex
parsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex
parsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex
parsekexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.co m,hmac-sha1-96,hmac-md5-96
debug2: kex
parsekexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.co m,hmac-sha1-96,hmac-md5-96
debug2: kex
parsekexinit: none,zlib@openssh.com,zlib
debug2: kex
parsekexinit: none,zlib@openssh.com,zlib
debug2: kex
parsekexinit:
debug2: kex
parsekexinit:
debug2: kex
parsekexinit: first
kexfollows 0
debug2: kex
parsekexinit: reserved 0
debug2: kex
parsekexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie- hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex
parsekexinit: ssh-rsa,ssh-dss
debug2: kex
parsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex
parsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex
parsekexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.co m,hmac-sha1-96,hmac-md5-96
debug2: kex
parsekexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.co m,hmac-sha1-96,hmac-md5-96
debug2: kex
parsekexinit: none,zlib@openssh.com
debug2: kex
parsekexinit: none,zlib@openssh.com
debug2: kex
parsekexinit:
debug2: kex
parsekexinit:
debug2: kex
parsekexinit: first
kexfollows 0
debug2: kex
parsekexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2
MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2
MSG_KEX_DH_GEXGROUP
debug2: dh
genkey: priv key bits set: 135/256
debug2: bits set: 526/1024
debug1: SSH2
MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2
MSG_KEX_DH_GEXREPLY
debug3: check
host_inhostfile: filename /Users/saw500/.ssh/known_hosts
debug3: check
host_inhostfile: match line 7
debug1: Host '192.168.1.99' is known and matches the RSA host key.
debug1: Found key in /Users/saw500/.ssh/known_hosts:7
debug2: bits set: 544/1024
debug1: ssh
rsaverify: signature correct
debug2: kex
derivekeys
debug2: set_newkeys: mode 1
debug1: SSH2
MSGNEWKEYS sent
debug1: expecting SSH2
MSGNEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2
MSGNEWKEYS received
debug1: SSH2
MSG_SERVICEREQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2
MSG_SERVICEACCEPT received
debug2: key: /Users/saw500/.ssh/id_rsa (0x100117920)
debug2: key: /Users/saw500/.ssh/identity (0x0)
debug2: key: /Users/saw500/.ssh/id_dsa (0x100123d40)
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod
isenabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/saw500/.ssh/id_rsa
debug3: send
pubkeytest
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug2: input
userauth_pkok: fp dc:17:16:d7:b2:01:c3:c3:ec:34:db:c2:77:b4:91:ab
debug3: sign
and_sendpubkey
debug1: Authentication succeeded (publickey).
debug2: fd 4 setting O_NONBLOCK
debug3: fd 5 is O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh
session2open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client
session2setup: id 0
debug1: Sending command: rsync --server -logDtpr . /Users/saw500/Documents/Daylite
debug2: channel 0: request exec confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel
input_statusconfirm: type 99 id 0
debug2: exec request accepted on channel 0
debug2: channel 0: rcvd adjust 16548
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug2: channel 0: rcvd adjust 8192
debug1: client
input_channelreq: channel 0 rtype exit-status reply 0
debug1: client
input_channelreq: channel 0 rtype eow@openssh.com reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)
debug3: channel 0: close_fds r -1 w -1 e 6 c -1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 16060944, received 64600 bytes, in 4.6 seconds
Bytes per second: sent 3459579.8, received 13915.1
debug1: Exit status 0
FYI I truncated a bunch of "debug2: channel 0: rcvd adjust 8192" lines from this output, it seemed like there were a few thousand of them probably too much to fit into this post. Also that http stuff you see in the output isn't really there, it's this forum translating brackets around an IP address into HTTP for some reason.
My best analysis from this is it's some sort of public/private key problem? But I'm still not exactly sure what it is... or how to fix it!