[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh doesn't work.



On Thu, Dec 08, 2016 at 02:37:09AM +0900, EenyMeenyMinyMoa wrote:
> $ ls -ls /home/testac/.ssh
> total 12
> 4 -rwx------ 1 u1 u1 776 Dec  8 11:05 authorized_keys
> 4 -rw-r--r-- 1 u1 u1 388 Dec  6 11:57 id_rsa_test.pub
> 4 -rwx------ 1 u1 u1 444 Dec  6 20:46 known_hosts

Which machine is that -- the client, or the server?

Check those things on the server, and also check:
ls -ld / /home /home/testac /home/testac/.ssh

Also make sure that "u1" is the actual owner of /home/testac.
The discrepancy between the username shown by ls -l and the name
of the home directory does not inspire confidence.


Reply to: