Robert Moskowitz wrote:
I am away from my office for the week. In Sacramento for the IEEE 802.1 interim meeting (for anyone in the neighborhood...).
And I am working on SSH with my Centos install(s).
- For right now I am using my XP drive with Tectia client. I have
SSHed into my Centos server using password method and uploaded my public key and such. I see everything there. I think. I then delete all authentication methods but public key and am told that no recognized authentication match. When I add password back into my client, I get the password authentication method.
I would generate a key "ssh-keygen -t rsa" on a linux machine, cp to the server, cat id_rsa.pub>>.ssh/authorized_keys2 and see if that gets the job done. The windows machine adds additional complexity that is hard to debug, get the linux part working first. Make sure the permissions are correct in ~/.ssh/ , that is very important. .ssh/authorized_keys2 must be 0600.
drwx------ 2 root root 4096 Jan 11 2004 . drwxr-x--- 27 root root 4096 Jan 6 12:10 .. -rw------- 1 root root 580 Jan 3 2005 authorized_keys -rw------- 1 root root 2982 Apr 25 2005 authorized_keys2 -rw------- 1 root root 672 Jan 11 2004 id_dsa -rw-r--r-- 1 root root 613 Jan 11 2004 id_dsa.pub -rw------- 1 root root 538 Jan 11 2004 identity -rw-r--r-- 1 root root 342 Jan 11 2004 identity.pub -rw-r--r-- 1 root root 6998 Dec 29 11:44 known_hosts