Bug 2104 - Windows/win32/mingw support
Summary: Windows/win32/mingw support
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 22:09 AEST by Pierre Ossman
Modified: 2021-04-23 14:55 AEST (History)
2 users (show)

See Also:


Attachments
win32.patch (123.76 KB, patch)
2013-05-15 22:09 AEST, Pierre Ossman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Ossman 2013-05-15 22:09:16 AEST
Created attachment 2268 [details]
win32.patch

Attached patch makes it possible to build the ssh client for Windows. It is not a full port in that sshd is still not possible to build. But given the nature of Windows, the client is the most interesting piece.

The patch is to a large extent #ifdef:s around headers that do not exist on Windows. The second large part is compatibility routines for stuff that is missing (like a sane select()).

Diff is against CVS as of today (2013-05-15).
Comment 1 Damien Miller 2020-01-26 00:47:11 AEDT
Microsoft now supports OpenSSH on Windows, so IMO this is obsolete
Comment 2 Damien Miller 2021-04-23 14:55:51 AEST
closing resolved bugs as of 8.6p1 release