Thanks for the reply. I turned on verbose logging and get the following. Any ideas why it says that "Ssh2AuthPubKeyClient: Agent is not running."?
Also, any idea why it fails parsing the key file? I generated the key file using SSH client. The key file exists.
thanks again
C:\Documents and Settings\Jed>ssh2 192.168.0.105 -l jed -i UserKeys/key.pub -v
debug: Connecting to 192.168.0.105, port 22... (SOCKS not used)
debug: Ssh2Transport: My version: SSH-1.99-3.2.9 SSH Secure Shell Windows Client
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common: local ip = 192.168.0.100, local port = 1334
debug: Ssh2Common: remote ip = 192.168.0.105, remote port = 22
debug: SshConnection: Wrapping...
debug: Remote version: SSH-1.99-OpenSSH_3.5p1
debug: OpenSSH: Major: 3 Minor: 5 Revision: 0
debug: Ssh2Transport: All versions of OpenSSH handle kex guesses incorrectly.
debug: Ssh2Transport: lang s to c: `', lang c to s: `'
debug: Ssh2Transport: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Ssh2Common: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common: Received SSH_CROSS_ALGORITHMS packet from connection protocol
.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthPubKeyClient: Starting pubkey auth...
debug: Ssh2AuthPubKeyClient: Agent is not running.
debug: Ssh2AuthPubKeyClient: Got 0 keys from the agent.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 3:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 4:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 5:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 6:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 7:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 8:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 9:
parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 10
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 11
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 12
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 13
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 14
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 15
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 16
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 17
: parsing line failed.
warning: C:/Documents and Settings/Jed/Application Data/SSH/UserKeys/key.pub: 18
: parsing line failed.
debug: Ssh2AuthPubKeyClient: Trying 0 key candidates.
debug: Ssh2AuthPubKeyClient: All keys declined by server, disabling method.
debug: Ssh2AuthClient: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthPasswdClient: Starting password auth...
jed's password: