{"id":1457,"date":"2014-07-11T15:05:33","date_gmt":"2014-07-11T13:05:33","guid":{"rendered":"http:\/\/netspider.com.ua\/?p=1457"},"modified":"2014-07-11T15:05:33","modified_gmt":"2014-07-11T13:05:33","slug":"freebsd-livecd-ssh-and-network","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2014\/07\/11\/freebsd-livecd-ssh-and-network\/","title":{"rendered":"FreeBSD LiveCD &#8212; \u0421\u0435\u0442\u044c \u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u043e SSH"},"content":{"rendered":"<p>\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c \u0441\u0435\u0442\u044c:<\/p>  <pre class=\"brush: bash; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\"># \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441:\nifconfig re0 192.168.0.22\n# \u0438\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 DHCP:\ndhclient re0<\/pre>\n\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440:<\/p>\n\n<pre class=\"brush: bash; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\">mkdir \/tmp\/etc \nmount_unionfs \/tmp\/etc \/etc\nee \/tmp\/etc\/resolv.conf\nnameserver 8.8.8.8\n# \u0438\u043b\u0438 IP \u0440\u043e\u0443\u0442\u0435\u0440\u0430\nnameserver 192.168.0.1<\/pre>\n\n<p>\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c sshd:<\/p>\n\n<pre class=\"brush: bash; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\">ee \/etc\/ssh\/sshd_config\n# \u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 &quot;#PermitRootLogin no&quot; \u043d\u0430 &quot;PermitRootLogin yes&quot;\n# \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e root:\npasswd\n# \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c sshd:\n\/etc\/rc.d\/sshd onestart<\/pre>","protected":false},"excerpt":{"rendered":"\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c \u0441\u0435\u0442\u044c: # \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441: ifconfig re0 192.168.0.22 # \u0438\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 DHCP: dhclient re0 \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440: mkdir \/tmp\/etc mount_unionfs \/tmp\/etc \/etc ee \/tmp\/etc\/resolv.conf nameserver 8.8.8.8 # \u0438\u043b\u0438 IP \u0440\u043e\u0443\u0442\u0435\u0440\u0430 nameserver 192.168.0.1 \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c sshd: ee \/etc\/ssh\/sshd_config # \u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 &quot;#PermitRootLogin no&quot; \u043d\u0430 &quot;PermitRootLogin yes&quot; # \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e root: passwd # \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2014\/07\/11\/freebsd-livecd-ssh-and-network\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[48,1720,1503,1722,432,1721],"class_list":["post-1457","post","type-post","status-publish","format-standard","hentry","category-main","tag-freebsd","tag-livecd","tag-network","tag-rescue","tag-ssh","tag-sshd"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=1457"}],"version-history":[{"count":1,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1457\/revisions"}],"predecessor-version":[{"id":1458,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1457\/revisions\/1458"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=1457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=1457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=1457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}