This is the mail archive of the
mailing list for the Cygwin project.
Cygwin & openssh(d) & login without password
- From: David Campbell <david at pastornet dot net dot au>
- To: cygwin at cygwin dot com
- Date: Tue, 05 Oct 2004 16:00:10 +1000
- Subject: Cygwin & openssh(d) & login without password
I'm having terrible trouble trying to be able to login without a
password to a cygwin sshd, even from another user on the same machine.
The sshd is working fine for password logins.
I've read lots of web pages about how to set it up, and I believe I've
followed them, eg http://bumblebee.lcs.mit.edu/ssh2/ (for openssh to
Consider the following case where I have two users on the same computer,
joe (who runs the ssh client), and mary (joe logs into the mary account):
The ssh client user's identity has to be in the other user's
authorized_keys2 file. In this example, the two files are identical.
The permissions of the files have to be right:
[mary@mycomputer]~/.ssh> ls -al
drwx------+ 2 mary None 0 Oct 5 15:05 .
drwx------+ 3 mary None 0 Oct 5 13:30 ..
-rw------- 1 mary None 607 Oct 5 15:05
[joe@mycomputer]~/.ssh> ls -al
drwx------+ 2 joe None 0 Oct 5 15:36 .
drwx------+ 39 joe None 0 Oct 5 15:36 ..
-rw-------+ 1 joe None 668 Oct 5 14:08 id_dsa
-rw-------+ 1 joe None 607 Oct 5 14:08 id_dsa.pub
-rw-------+ 1 joe None 9695 Oct 5 14:57 known_hosts
And yet it is still asking me for the password:
[joe@mycomputer]~/.ssh> ssh mary@mycomputer
The only other things I can think of are the contents of ssh_config and
Am I doing anything wrong?
Is there anything else I should be checking?
-- Dave Campbell
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html