{"id":811,"date":"2015-05-18T15:58:39","date_gmt":"2015-05-19T00:58:39","guid":{"rendered":"http:\/\/blog.box.kr\/?p=811"},"modified":"2015-05-18T15:58:39","modified_gmt":"2015-05-19T00:58:39","slug":"scraplinux-ssh-%ec%b4%88%ea%b8%b0-%eb%b3%b4%ec%95%88-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=811","title":{"rendered":"[scrap]Linux ssh \ucd08\uae30 \ubcf4\uc548 \uc124\uc815"},"content":{"rendered":"<h3 class=\"posttitle\"><a href=\"http:\/\/simonshin.egloos.com\/2247508\">http:\/\/simonshin.egloos.com\/2247508<\/a><\/h3>\n<p>&nbsp;<\/p>\n<ul>\n<li>\/bin\/su File<\/li>\n<\/ul>\n<blockquote>\n<ul>\n<li>chattr -i \/bin\/su<\/li>\n<li>chown root.wheel \/bin\/su<\/li>\n<li>chmod 4750 \/bin\/su<\/li>\n<li>chattr +i \/bin\/su<\/li>\n<\/ul>\n<\/blockquote>\n<ul>\n<li>\/etc\/ssh\/sshd_config File<\/li>\n<\/ul>\n<blockquote>\n<ul>\n<li>\ud30c\uc77c\uc744 \uc5f4\uc5b4\uc11c\u00a0 \uc544\ub798 \uc0ac\ud56d\ub4e4\uc774 \ud65c\uc131\ud654 \ub420 \uc218 \uc788\ub3c4\ub85d \uc218\uc815 \ud55c\ub2e4.<\/li>\n<li>PermitRootLogin no<\/li>\n<li>AllowUsers UserID<\/li>\n<li>AllowGroups wheel<\/li>\n<\/ul>\n<\/blockquote>\n<ul>\n<li>\/etc\/group File<\/li>\n<\/ul>\n<blockquote>\n<ul>\n<li>\ud30c\uc77c\uc744 \uc5f4\uace0 \uc544\ub798 \uc0ac\ud56d\uacfc \uac19\uc774 \uc124\uc815 \ud55c\ub2e4.<\/li>\n<li>wheel:x:10:root,UserID<\/li>\n<\/ul>\n<\/blockquote>\n<ul>\n<li>sshd \ub370\ubaac\uc744 \uc7ac \uc2dc\uc791 \uc2dc\ucf1c \uc900\ub2e4.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/simonshin.egloos.com\/2247508 &nbsp; \/bin\/su File chattr -i \/bin\/su chown root.wheel \/bin\/su chmod 4750 \/bin\/su chattr +i \/bin\/su \/etc\/ssh\/sshd_config File \ud30c\uc77c\uc744 \uc5f4\uc5b4\uc11c\u00a0 \uc544\ub798 \uc0ac\ud56d\ub4e4\uc774 \ud65c\uc131\ud654 \ub420 \uc218 \uc788\ub3c4\ub85d \uc218\uc815 \ud55c\ub2e4. PermitRootLogin no AllowUsers UserID AllowGroups wheel \/etc\/group File \ud30c\uc77c\uc744 \uc5f4\uace0 \uc544\ub798 \uc0ac\ud56d\uacfc \uac19\uc774 \uc124\uc815 \ud55c\ub2e4. wheel:x:10:root,UserID sshd \ub370\ubaac\uc744 \uc7ac \uc2dc\uc791 \uc2dc\ucf1c \uc900\ub2e4.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[17,5,7],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-d5","jetpack-related-posts":[{"id":558,"url":"https:\/\/blog.box.kr\/?p=558","url_meta":{"origin":811,"position":0},"title":"OSX\uc5d0\uc11c GIT \uc11c\ubc84 \uc124\uc815 \ud558\uae30","date":"2015-01-25","format":false,"excerpt":"* Shell \uc5d0\uc11c \uc0ac\uc6a9\uc790 \ucd94\uac00 !! 1. \"sudo dscl . -create \/Users\/username UserShell \u00a0\/bin\/bash\" 2. \"sudo dscl . -create\u00a0\/Users\/username\u00a0RealName \"John Doth\"\" 3. \"sudo dscl . -create\u00a0\/Users\/username\u00a0UniquelID 1001\" 4.\u00a0\"sudo dscl . -create\u00a0\/Users\/username\u00a0PrimaryGroupID\u00a01000\" 5.\u00a0\"sudo dscl . -create\u00a0\/Users\/username\u00a0NFSHomeDirectory \/Local\/Users\/username\" 6.\u00a0\"sudo dscl . -create\u00a0\/Users\/username\u00a0password\" \u00a0 \u00a0<<= \uc554\ud638 \uc785\ub825 * GIT\uc124\uce58 1. \uc0ac\uc6a9\uc790 \"git-admin\" \u00a0\ucd94\uac00\u2026","rel":"","context":"In &quot;\uc77c\uc0c1&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":801,"url":"https:\/\/blog.box.kr\/?p=801","url_meta":{"origin":811,"position":1},"title":"[scrap] MySQL Replication \uc124\uc815\uacfc \uba87 \uac00\uc9c0 \ud14c\uc2a4\ud2b8","date":"2015-05-18","format":false,"excerpt":"http:\/\/blog.hibrainapps.net\/130 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 MySQL\uc744 DB\ub85c \uc0ac\uc6a9\ud558\uba74\uc11c \uc11c\ubc84\uc758 \ubd80\ud558 \ubd84\uc0b0\uc744 \uc704\ud55c \ubc29\ubc95 \uc911 \ud558\ub098\ub85c Replication \uc744 \uc0ac\uc6a9\ud55c\ub2e4. Replication \uc740 Master \ud558\ub098\uc5d0 n\uac1c\uc758 Slave\ub85c \uc9c0\uc815\uc774 \uac00\ub2a5\ud558\ub2e4. Slave\ub294 \ub2e4\uc2dc Master \uc5ed\ud560\uc744 \ud560\uc218 \uc788\uc73c\uba70 \uc5ed\uc2dc \ub610 \ub2e4\ub978 n\uac1c\uc758 Slave\ub97c \uc9c0\uc815\ud560 \uc218 \uc788\ub2e4. \ubd80\ud558 \ubd84\uc0b0\uc758 \ud6a8\uacfc\ub294 inser,update \ub4f1 \ubcc0\uacbd\uacfc \uad00\ub828\ub41c \ubaa8\ub4e0 \uc791\uc5c5\uc740\u2026","rel":"","context":"In &quot;DB\uad00\ub828&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":385,"url":"https:\/\/blog.box.kr\/?p=385","url_meta":{"origin":811,"position":2},"title":"[\ud38c]iBatis \ub85c\uadf8\ubcf4\uae30 &#8211; log4j \uc124\uc815","date":"2014-09-15","format":false,"excerpt":"iBatis \ub85c\uadf8\ubcf4\uae30 - log4j \uc124\uc815\u00a0iBatis \uc791\uc131\uc2dc\uac04 :\u00a02010\/02\/04 15:51 \ud37c\uba38\ub9c1\ud06c :\u00a0slog2.egloos.com\/3574039 \ub367\uae00\uc218 :\u00a01 \ucc38\uace0\uc790\ub8cc :\u00a0http:\/\/ibatis.apache.org\/\u00a0- for Java - Documentation - Korean\u00a0 \u00a0 \uc774 \uae00\uacfc \u00a0PDF \ucca8\ubd80\ud30c\uc77c\uc744 \uac19\uc774 \ubcf4\uc2dc\uae30\ub97c..\u00a0Log4jQuickRef.pdf\u00a0\u00a0 \u00a0 \u00a0 1. log4j \uc124\uce58 \u00a0 http:\/\/www.apache.org\/ \u00a0- Logging - log4j 1.2 - Download - apache-log4j-1.2.15.zip\u00a0 \ud30c\uc77c\uc744 \ubc1b\uc544 \uc555\ucd95\ud480\uc5b4\u00a0JAR \ud30c\uc77c(log4j-1.2.15.jar)\uc744 \u00a0\ud504\ub85c\uc81d\ud2b8\uc758 WEB-INFlib \ud3f4\ub354\uc5d0\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":454,"url":"https:\/\/blog.box.kr\/?p=454","url_meta":{"origin":811,"position":3},"title":"RED5 &amp; FFMPEG &amp; FFserver \uc2a4\ud2b8\ub9ac\ubc0d \uc11c\ubc84 \uad6c\ucd95\ud558\uae30","date":"2014-12-18","format":false,"excerpt":"\u00a0 http:\/\/blog.syszone.co.kr\/2498?category=17 \u00a0 \uc791\uc131\uc790 : \uc11c\uc9c4\uc6b0(alang@syszone.co.kr) \uc791\uc131\uc77c : 2009\ub144 1\uc6d4 5\uc77c 4.1 FFMPEG\ub85c \uc778\ucf54\ub529 \ud658\uacbd \uad6c\ucd95\ud558\uae30 - \uae30\ubcf8 \ud504\ub85c\uadf8\ub7a8 \uc124\uce58 # yum install ruby # yum install ncurses-devel* # yum install lame # yum install libogg # yum install libvorbis # yum install flvtool2 # yum install ffmpeg - \ucf54\ub371\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":687,"url":"https:\/\/blog.box.kr\/?p=687","url_meta":{"origin":811,"position":4},"title":"[\ud38c]MariaDB \uc124\uc815 \ud30c\uc77c my.cnf","date":"2015-04-13","format":false,"excerpt":"http:\/\/www.programkr.com\/blog\/MUDM5ADMwYT2.html \u00a0 \u00a0 # MariaDB database server configuration file. # # You can copy this file to one of: # - \"\/etc\/mysql\/my.cnf\" to set global options, # - \"~\/.my.cnf\" to set user-specific options. # # One can use all long options that the program supports. # Run program with --help\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":68,"url":"https:\/\/blog.box.kr\/?p=68","url_meta":{"origin":811,"position":5},"title":"ANT Manual","date":"2014-06-12","format":false,"excerpt":"ANT Manual 1. Ant \uc18c\uac1c Apache Ant\ub294Java\uae30\ubc18\uc758build\ub3c4\uad6c\ub85c\uc5bc\ub9c8\ub098\uac1c\ubc1c\uc744\ud3b8\ub9ac\ud558\uac8c\ud574\uc8fc\ub290\ub0d0\uac00\uad00\ub828\uc774\uc788\uc73c\uba70\ud504\ub85c\uadf8\ub7a8\uc774\ub098\ud504\ub85c\uc81d\ud2b8\uc640\ub294\ud2b9\ubcc4\ud55c\uad00\uacc4\uc131\uc774\uc5c6\ub2e4.\uac04\ub2e8\ud558\uac8c\ub9d0\ud558\uc790\uba74make\uc640\uac19\uc740\ub3c4\uad6c\uc640\uc720\uc0ac\ud55c\uae30\ub2a5\uc744\ud558\uba74\uc11c\ubcf4\ub2e4\uc6b0\uc218\ud55c\ud2b9\uc9d5\ub4e4(\uc790\ubc14\uae30\ubc18\uc758\ud2b9\uc9d5\ub4e4)\uc744\uac00\uc9c0\uace0\uc788\ub2e4\ub294\uac83\uc774\ub2e4. \uc5ec\uae30\uc11c\ub294\uae30\ubcf8\uc801\uc778Ant\uc124\uce58\ubc0f\ubb38\ubc95\uc744\uc18c\uac1c\ud55c\ub2e4. 2. Ant \uc124\uce58 2.1 Ant \uad6c\ud558\uae30 Ant\ub294http:\/\/jakarta.apache.org\/ant\/\uc5d0\uc11c\ub2e4\uc6b4\ub85c\ub4dc\ud558\uc5ec\ubc1b\uc744\uc218\uc788\ub2e4. 2.2 Ant \uc124\uce58\ud558\uae30 - Window \ud658\uacbd\uc5d0\uc11c\uc124\uce58 Ant \uac00c:ant\uc5d0\uc778\uc2a4\ud1a8\ub418\uace0\uc788\ub2e4\uace0\uac00\uc815\ud558\uace0,\ub2e4\uc74c\uc758\ud658\uacbd\uc744\ub3c4\uc2a4\ucc3d\uc5d0\uc11c\uc124\uc815\ud558\ub4e0\uc9c0 \ub0b4\ucef4\ud4e8\ud130>\ub4f1\ub85d\uc815\ubcf4>\uace0\uae09>\ud658\uacbd\ubcc0\uc218\uc5d0\uc124\uc815\uc744\ud55c\ub2e4. set ANT_HOME=c:ant set JAVA_HOME=c:jdk1.2.2 set PATH=%PATH%;%ANT_HOME%bin - Unix \ud658\uacbd\uc5d0\uc11c\uc124\uce58 Ant \uac00\/home1\/jeus\/ant\uc5d0\uc778\uc2a4\ud1a8\ub418\uace0\uc788\ub2e4\uace0\uac00\uc815\ud558\uace0,\ub2e4\uc74c\uc758\ub0b4\uc6a9\ud658\uacbd\uc124\uc815\ud30c\uc77c\uc5d0\uc124\uc815\ud55c\ub2e4. (\uc0ac\uc6a9\ud558\ub294shell\uc5d0\ub530\ub77c\uc11c) Unix (bash) export ANT_HOME= \/home1\/jeus\/ant export JAVA_HOME \/usr\/j2se export PATH=${PATH}:${ANT_HOME}\/bin Unix (csh) setenv ANT_HOME\u2026","rel":"","context":"In &quot;JEUS &amp; WEBToB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/811"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=811"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}