{"id":934,"date":"2013-11-26T13:59:52","date_gmt":"2013-11-26T13:59:52","guid":{"rendered":"http:\/\/blogs.silicontechnix.com\/?p=934"},"modified":"2016-07-12T09:22:04","modified_gmt":"2016-07-12T08:22:04","slug":"free-openssh-server-for-windows-winssh","status":"publish","type":"post","link":"https:\/\/blogs.silicontechnix.com\/?p=934","title":{"rendered":"Free OpenSSH Server for Windows (WinSSH)"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div id=\"attachment_941\" style=\"width: 200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-941\" data-attachment-id=\"941\" data-permalink=\"https:\/\/blogs.silicontechnix.com\/?attachment_id=941\" data-orig-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png\" data-orig-size=\"190,187\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"190px-OpenSSH_logo\" data-image-description=\"&lt;p&gt;&#8220;Don&#8217;t tell anyone that I&#8217;m free&#8221;&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;&#8220;Don&#8217;t tell anyone that I&#8217;m free&#8221;&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png\" data-large-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png\" class=\"size-full wp-image-941\" src=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png\" alt=\"&quot;Don't tell anyone that I'm free&quot;\" width=\"190\" height=\"187\" \/><\/a><p id=\"caption-attachment-941\" class=\"wp-caption-text\">&#8220;Don&#8217;t tell anyone that I&#8217;m free&#8221;<\/p><\/div>\n<p><span style=\"text-decoration: underline;\"><strong>WinSSH<\/strong><\/span><\/p>\n<p>Update (10\/July\/2016): OpenSSH (7.2p2) Server for Windows (7.2p2 is latest version of OpenSSH)<br \/>\nOpenSSH (6.4p1) Server for Windows (Previous version of OpenSSH)<\/p>\n<p>General Features:-<\/p>\n<pre><code>* Security, if you want to access your Windows Machines cmd shell with full security.\r\n* Windows NT Service Support\r\n* Full install about 12mb, installer under 8mb (Including Cygwin dependencies)\r\n* Windows Command Prompt support for SSH Terminal\r\n* SCP\/SFTP server support (<strong>secure file transfer<\/strong>)\r\n* Command-line clients included <!--more-->\r\n<\/code><\/pre>\n<p>Download <strong><a href=\"https:\/\/github.com\/babarnazmi\/WinSSH\/raw\/master\/downloads\/WinSSH.exe\">Latest <\/a><\/strong>Setup from : <a href=\"https:\/\/github.com\/babarnazmi\/WinSSH\/raw\/master\/downloads\/WinSSH.exe\">https:\/\/github.com\/babarnazmi\/WinSSH\/raw\/master\/downloads\/WinSSH.exe<\/a><\/p>\n<p><strong>Previous version<\/strong> is available at <a href=\"https:\/\/github.com\/babarnazmi\/WinSSH\/raw\/master\/downloads\/WinSSH-6.4p1.exe\">https:\/\/github.com\/babarnazmi\/WinSSH\/raw\/master\/downloads\/WinSSH-6.4p1.exe<\/a><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Install<\/strong><\/span><\/p>\n<p>Run the setup program and accept the defaults (all categories). This will install the OpenSSH server and client in an appropiate place.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Configuration<\/strong><\/span><\/p>\n<ol>\n<li>Open a command prompt and change to the installation directory (Program Files\\OpenSSH is the default).<\/li>\n<li>CD into the bin directory.<\/li>\n<li>Use mkgroup to create a group permissions file. For local groups, use the &#8220;-l&#8221; switch. For domain groups, use the &#8220;-d&#8221; switch. For both domain and local, it is best to run the command twice (remember to use &gt;&gt;, not &gt;). If you use both, make sure to edit the file to remove any duplicate entries.\n<pre class=\"brush:bash\">mkgroup -l &gt;&gt; ..\\etc\\group\r\n(-l is for local groups)\r\nmkgroup -d &gt;&gt; ..\\etc\\group\r\n(-d is for domain groups)\r\n<\/pre>\n<\/li>\n<li>Use mkpasswd to add authorized users into the passwd file. For local users, use the &#8220;-l&#8221; switch. For domain users, use the &#8220;-d&#8221; switch. For both domain and local, it is best to run the command twice (remember to use &gt;&gt;, not &gt;). If you use both, make sure to edit the file to remove any duplicate entries.\n<pre class=\"brush:bash\">mkpasswd -l [-u ] &gt;&gt; ..\\etc\\passwd\r\n(-l is for local users)\r\nmkpasswd -d [-u ] &gt;&gt; ..\\etc\\passwd\r\n(-d if for domain users)<\/pre>\n<p>NOTE: To add users from a domain that is not the primary domain of the machine, add the domain name after the user name. NOTE: Ommitting the username switch adds ALL users from the machine or domain, including service accounts and the Guest account.<\/li>\n<li>Start the OpenSSH server.\n<pre class=\"brush:bash\">net start \"openssh server\"<\/pre>\n<\/li>\n<li>Test the server. Using a seperate machine as the client is best. If you connect but the connection immediately gets dropped, reboot the machine with the server and try connecting again.<\/li>\n<\/ol>\n<p>Now you can enable unsecure RDP to use SSH connection, you can make your browsing secure read this blog post:<br \/>\n<a title=\"Permanent Link to Secure browsing, How to use SSH (encrypted tunnel) for browsing\" href=\"https:\/\/blogs.silicontechnix.com\/?p=718\" rel=\"bookmark\">Secure browsing, How to use SSH (encrypted tunnel) for browsing<\/a><\/p>\n<p>Enjoy and Please share your comments.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; WinSSH Update (10\/July\/2016): OpenSSH (7.2p2) Server for Windows (7.2p2 is latest version of OpenSSH) OpenSSH (6.4p1) Server for Windows (Previous version of OpenSSH) General Features:- * Security, if you want to access your Windows Machines cmd shell with full security. * Windows NT Service Support * Full install about 12mb, installer under 8mb (Including [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":941,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"no","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[16,17,95],"tags":[421,420,425,422,320,424,480,423,170,108,419],"class_list":["post-934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","category-security","category-system-administration","tag-cygwin","tag-openssh","tag-openssh-for-windows","tag-scp","tag-secure-browsing","tag-secure-rdp","tag-security","tag-sftp","tag-ssh","tag-windows","tag-winssh"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/11\/190px-OpenSSH_logo.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p12j6H-f4","_links":{"self":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=934"}],"version-history":[{"count":10,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/934\/revisions"}],"predecessor-version":[{"id":1082,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/934\/revisions\/1082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/media\/941"}],"wp:attachment":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}