bugzilla-daemon at bugzilla.mindrot.org
2009-Feb-09  05:47 UTC
[Bug 1553] New: key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553
           Summary: key based (authorized_keys2) authentication is not
                    working in Windows 2003
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: ashish.chorge at patni.com
Hi,
Following are the steps to reproduce the bug.
1. Installed openssh 4.2p1-1 in Windows Server 2003 + SP2.
2. Use following commands to create user and group/password creation,
   net user root test at 123 /add
   mkdir \"Documents and Settings"\root\.ssh
   cd \"Documents and Settings"
   cacls root /T /P everyone:F 
   cd \
   cd \"Program Files"\OpenSSH\bin"
   mkgroup -l > ..\etc\group
   mkpasswd -l > ..\etc\passwd
   net start opensshd
3. Use ssh-keygen -t rsa command to generate the key as follows. Use
empty for no passphrase.
4. Copy the id_rsa.pub key as authorized_keys2
5. Restart the openssh service.
6. Prompting for password while checking self authentication using 'ssh
root at IPAddress pwd' command. 
Regards
Ashish
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Feb-10  03:37 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553
Ashish <ashish.chorge at patni.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
--- Comment #1 from Ashish <ashish.chorge at patni.com>  2009-02-10
14:37:08 ---
After doing all these steps (public key sharing) user should not promt
for password. Is there anything I have to change in sshd_config file?
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Feb-10  03:40 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org>  2009-02-10
14:40:35 ---
OpenSSH 4.2 is quite old and not supported by the developers. Please
try to recreate your problem with a recent version (i.e. 5.1) and
attach a server debug trace.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Feb-16  04:36 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553 --- Comment #3 from Ashish <ashish.chorge at patni.com> 2009-02-16 15:36:49 --- I found various download path's for OpenSSH 5.1 on net (google) but I am not able to download from those links, those links are not working. Do you have any particular path from where I can download the OpenSSH 5.1 for Windows? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Feb-16  04:41 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553 --- Comment #4 from Damien Miller <djm at mindrot.org> 2009-02-16 15:41:05 --- The best place to get OpenSSH for Windows is as part of Cygwin: http://www.cygwin.com/ Cygwin tracks the current version of OpenSSH quite closely. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Nov-10  02:29 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
--- Comment #5 from Damien Miller <djm at mindrot.org> 2009-11-10 13:29:58
EST ---
If you can replicate this bug with the most recent version of OpenSSH,
and after checking with a Cygwin support site then please reopen this
bug.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-16  05:51 UTC
[Bug 1553] key based (authorized_keys2) authentication is not working in Windows 2003
https://bugzilla.mindrot.org/show_bug.cgi?id=1553
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #6 from Damien Miller <djm at mindrot.org> 2010-04-16 15:51:01
EST ---
Mass move of bugs RESOLVED->CLOSED following the release of
openssh-5.5p1
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Apparently Analagous Threads
- ssh: limits on authorized_keys2 (fwd)
- [Bug 72] New: sshd 3.0.2p1 assumes authorized_keys2 unless configured otherwise.
- Trouble writing authorized_keys2
- [Bug 1687] New: scp/sftp is not working when using key based (authorized_keys2) authentication
- backdoor by authorized_keys2 leftovers