{"id":465,"date":"2013-09-24T17:03:30","date_gmt":"2013-09-24T21:03:30","guid":{"rendered":"http:\/\/jaewon.hwang.info\/jaewon\/?p=465"},"modified":"2014-05-11T18:35:17","modified_gmt":"2014-05-11T22:35:17","slug":"installing-cygwin-sshd","status":"publish","type":"post","link":"https:\/\/jaewon.hwang.info\/jaewon\/2013\/09\/installing-cygwin-sshd\/","title":{"rendered":"Installing Cygwin sshd"},"content":{"rendered":"<p>From <a href=\"http:\/\/pic.dhe.ibm.com\/infocenter\/tivihelp\/v10r1\/index.jsp?topic=%2Fcom.ibm.taddm.doc_7.1.2%2FAdminGuide%2Ft_cmdb_installssh2.html\" target=\"_blank\">http:\/\/pic.dhe.ibm.com\/infocenter\/tivihelp\/v10r1\/index.jsp?topic=%2Fcom.ibm.taddm.doc_7.1.2%2FAdminGuide%2Ft_cmdb_installssh2.html<\/a><\/p>\n<p>To install Cygwin sshd, complete the following steps:<\/p>\n<div id=\"vcc_sp_div_32\" tabindex=\"7\">\n<ol id=\"vcc_sp_ol_37\" tabindex=\"12\">\n<li id=\"vcc_sp_li_38\" tabindex=\"13\">Download the Cygwin program from the following Web site: <a id=\"vcc_sp_a_41\" tabindex=\"16\" href=\"http:\/\/cygwin.com\/\" target=\"_blank\">http:\/\/cygwin.com\/<\/a><\/li>\n<li id=\"vcc_sp_li_42\" tabindex=\"17\">Run the setup program.<\/li>\n<li id=\"vcc_sp_li_44\" tabindex=\"19\">Select the packages to install. In addition to accepting the default packages, select the following packages:\n<ul id=\"vcc_sp_ul_46\" tabindex=\"21\">\n<li id=\"vcc_sp_li_47\" tabindex=\"22\">From the admin category, select cygrunsrv (version 1.17\u20131 or later).<\/li>\n<li id=\"vcc_sp_li_50\" tabindex=\"25\">From the net category, select opensshd (version 4.6p 1\u20131 or later).<\/li>\n<\/ul>\n<\/li>\n<li id=\"vcc_sp_li_53\" tabindex=\"28\">When the installation process completes, start the cygwin bash shell.<\/li>\n<li id=\"vcc_sp_li_56\" tabindex=\"31\">From your system information, use the cygwin mkpasswd utility to create an initial \/etc\/passwd. You can also use the mkgroup utility to create an initial \/etc\/ group. See the <cite id=\"vcc_sp_cite_62\">Cygwin User&#8217;s Guide<\/cite> for more details.\n<div id=\"vcc_sp_div_63\" tabindex=\"37\">\n<p>For example, the following command sets up the password file, <samp id=\"vcc_sp_samp_64\">passwd<\/samp>, from the local accounts on your system:<\/p>\n<pre id=\"vcc_sp_pre_65\" tabindex=\"38\">mkpasswd -1 &gt; \/etc\/passwd<\/pre>\n<\/div>\n<\/li>\n<li id=\"vcc_sp_li_66\" tabindex=\"39\">Run the ssh-host-config program setup.<\/li>\n<li id=\"vcc_sp_li_69\" tabindex=\"42\">Configure SSH. Answer <tt id=\"vcc_sp_tt_71\">Yes<\/tt> to all questions.<\/li>\n<li id=\"vcc_sp_li_72\" tabindex=\"44\">Start the SSH server by running the following command:\n<pre id=\"vcc_sp_pre_74\" tabindex=\"46\">net start sshd<\/pre>\n<\/li>\n<li tabindex=\"44\">Open Windows Firewall and allow inbound access to the following file.\n<pre id=\"vcc_sp_pre_74\" tabindex=\"46\">c:\\cygwin\\usr\\sbin\\sshd.exe<\/pre>\n<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>From http:\/\/pic.dhe.ibm.com\/infocenter\/tivihelp\/v10r1\/index.jsp?topic=%2Fcom.ibm.taddm.doc_7.1.2%2FAdminGuide%2Ft_cmdb_installssh2.html To install Cygwin sshd, complete the following steps: Download the Cygwin program from the following Web site: http:\/\/cygwin.com\/ Run the setup program. Select the packages to install. In addition to accepting the default packages, select the following packages: From the admin category, select cygrunsrv (version 1.17\u20131 or later). From the net category, select [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-465","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":0,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts\/465\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/media?parent=465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/categories?post=465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/tags?post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}