{"id":273,"date":"2018-07-18T13:04:22","date_gmt":"2018-07-18T03:04:22","guid":{"rendered":"https:\/\/blog.hegars.com\/?p=273"},"modified":"2019-10-02T00:32:25","modified_gmt":"2019-10-01T14:32:25","slug":"openssh-for-windows-10","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=273","title":{"rendered":"OpenSSH for Windows 10"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-274\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshwind.png\" alt=\"\" width=\"637\" height=\"301\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshwind.png 637w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshwind-300x142.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>Enable it in Windows Options.<\/p>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-275\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshoptd.png\" alt=\"\" width=\"1022\" height=\"765\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshoptd.png 1022w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshoptd-300x225.png 300w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshoptd-768x575.png 768w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2018\/07\/opensshoptd-510x382.png 510w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/p>\n\n\n<p>Setting Bash as the default shell<\/p>\n\n\n\n<p>New-ItemProperty -Path &#8220;HKLM:\\SOFTWARE\\OpenSSH&#8221; -Name DefaultShell -Value &#8220;C:\\Windows\\System32\\bash.exe&#8221; -PropertyType String -Force<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/administration\/openssh\/openssh_server_configuration\">https:\/\/docs.microsoft.com\/en-us\/windows-server\/administration\/openssh\/openssh_server_configuration<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"177\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26-1024x177.png\" alt=\"\" class=\"wp-image-719\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26-1024x177.png 1024w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26-300x52.png 300w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26-768x133.png 768w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26-1080x187.png 1080w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-26.png 1533w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Enable it in Windows Options. \u00a0 Setting Bash as the default shell New-ItemProperty -Path &#8220;HKLM:\\SOFTWARE\\OpenSSH&#8221; -Name DefaultShell -Value &#8220;C:\\Windows\\System32\\bash.exe&#8221; -PropertyType String -Force https:\/\/docs.microsoft.com\/en-us\/windows-server\/administration\/openssh\/openssh_server_configuration<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[4,8],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/273"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273"}],"version-history":[{"count":3,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions"}],"predecessor-version":[{"id":721,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions\/721"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}