Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: ssh: problem with publickey authentication

Subject: Re: ssh: problem with publickey authentication
Date: Wed, 26 Oct 2005 08:11:52 +0200
Frans Englich wrote:
Hello,

I have trouble getting ssh with publickey authentication to work. The server I am attenmpting to log in to is not setup by me, but everything indicates that 1) my user account exists on the machine(due to public_html page can be visited); and 2) that the public key I sent was properly installed. The server works fine for other users, and although it is possible the sysadmin made a mistake in setting up my account, I think the error is on my side. Perhaps someone can give a hint on where the problem is.

Below series of bash commands are perhaps illuminating. I can't tell more than that authentication seems to fail.

bash-2.05b$ pwd
/home/frans
bash-2.05b$ ls .ssh/ -alFh
total 21K
drwxr-xr-x    2 frans    users         160 Oct 23 20:26 ./
drwxrwxrwx   72 frans    users        3.6K Oct 23 20:25 ../
      ^^^^^^

[snip]

Looks to me like the problem may be with the permissions on your home directory

Group and other should not have write access to your home directory, and your .ssh directory can be mode 700 (drwx------)

Rogan

<Prev in Thread] Current Thread [Next in Thread>