SSH Key Auth - Win client Fedora Server

Bryan O'Neal BONeal at cornerstonehome.com
Fri Mar 16 12:58:33 MST 2007


Ok, so it has been a while since I have set up key pairs for automated
connections and I am trying to do it again and it just is not working
for me and I am not sure why. 

I generated my RSA keys on the windows client. 

I made sure RSAAuth, PubkeyAuth, and Auth... Key... Files... lines were
uncommented out of my sshd_config and restarted the service on the
server. 

I copied the id_rsa.pub file from the client to the server and cat'ed it
to ~/.ssh/authorized_keys. 

Changed the permissions on authorized_keys to -rw-r--r-- and attempted
to make a connection. 

 

ssh -v boneal at fedora.cornerstonehome.com

 

The client gives the errors

 

C:\Program Files\SSH Communications Security\SSH Secure Shell>ssh2 -v
boneal at fedora.cornerstonehome.com

debug: Ssh2: License file not found, certificates & smart cards
disabled.

debug: Ssh2: User config file not found, using defaults. (Looked for
'C:/Documents and Settings/BONeal/Application Data/SSH/ssh2_config')

debug: Connecting to fedora.cornerstonehome.com, 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.2.15, local port = 1556

debug: Ssh2Common: remote ip = 192.168.2.10, remote port = 22

debug: SshConnection: Wrapping...

debug: Remote version: SSH-2.0-OpenSSH_4.3

debug: OpenSSH: Major: 4 Minor: 3 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,gssapi-with-mic,password'.

debug: Ssh2AuthPubKeyClient: Starting pubkey auth...

debug: Ssh2AuthPubKeyClient: Agent is not running.

debug: Ssh2AuthPubKeyClient: Got 0 keys from the agent.

debug: SshConfig: Unable to open C:/Documents and
Settings/BONeal/Application Data/SSH/identification

debug: SshUnixUserFiles: Keys for login not specified in 'C:/Documents
and Settings/BONeal/Application Data/SSH/identification', using all keys
available.

debug: Ssh2AuthPubKeyClient: adding keyfile "C:/Documents and
Settings/BONeal/Application Data/SSH/userkeys/id_rsa_2048_a" to
candidates

debug: Ssh2AuthPubKeyClient: Trying 1 key candidates.

debug: server offers auth methods 'publickey,gssapi-with-mic,password'.

debug: Ssh2AuthPubKeyClient: All keys declined by server, disabling
method.

debug: Ssh2AuthClient: Method 'publickey' disabled.

debug: server offers auth methods 'publickey,gssapi-with-mic,password'.

debug: Ssh2AuthPasswdClient: Starting password auth...

boneal's password:

 

 

Any thoughts?

 

 

Bryan O'Neal
Cornerstone Homes & Development, Inc.
4220 E. McDowell Rd Ste. #108
Mesa, AZ 85215
(480) 505-1900 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070316/b3de4dfe/attachment.htm 


More information about the PLUG-discuss mailing list