HOME   ·Î±×ÀΠ  ȸ¿ø°¡ÀÔ
    
ȸ¿ø°¡ÀÔ
ºñ¹Ð¹øÈ£ ã±â ÀÚµ¿·Î±ä
ÀÌÀü°Ô½ÃÆÇ
   free_board
   °Ç°­°Ô½ÃÆÇ
   ¿À¶óŬDB
   Linux
   HTML/javascript
   Áú¹®°ú ´ä
È£¼­±â
   À̹ÌÁö°Ô½ÃÆÇ  
   °Ç°­°Ô½ÃÆÇ  
   À½¾ÇÀÚ·á  
   ¼ºÁØÀÌ °Ô½ÃÆÇ  
 Hit : 5830
 À̸§ : È£¼®  (220.¢½.198.142)
 ³¯Â¥ : 2007-06-18 22:27:20
 Á¦¸ñ : ssh ·Î±×ÀÎ ¾øÀÌ ÀÚµ¿À¸·Î Á¢¼ÓÇÏ´Â ¹æ¹ý
¹é¾÷À̳ª ¾÷¹«»ó ÆíÀǸ¦ À§Çؼ­ Æнº¿öµå ÀԷ¾øÀÌ ÀÚµ¿À¸·Î ·Î±×ÀÎÇÏ´Â ¹æ¹ý¿¡ ´ëÇØ ¾Ë¾Æº¸ÀÚ.

¹æ¹ý1>>>>>
 $ ssh-keygen -t dsa
 $ ssh raclinux1 "cat ~/.ssh/id_dsa.pub" >> ~/.ssh/authorized_keys

¹æ¹ý2>>>>>

¼­¹ö(junix)¿¡¼­ ºñ¹ÐÅ° ÀÛ¼º
[root@junix ~]# ssh-keygen -b 1024 -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):      <- ±×³É Enter Å°¸¦ Ä£´Ù.(¾Æ¹«°Íµµ ÀԷ¾ÈÇÑ´Ù)
Enter same passphrase again:                     <- ±×³É Enter Å°¸¦ Ä£´Ù.(¾Æ¹«°Íµµ ÀԷ¾ÈÇÑ´Ù)
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
e0:62:99:ad:99:23:e1:d2:0a:cd:4e:24:7d:12:85:d5 root@junix.pe.kr


¼­¹ö(junix)ÀÇ °ø°³Å°¸¦ Ŭ¶óÀ̾ðÆ®(soojung)¿¡ º¹»çÇÕ´Ï´Ù.
[root@junix ~]# scp .ssh/id_rsa.pub soojung:/root
The authenticity of host 'soojung (192.168.0.3)' can't be established.
RSA key fingerprint is 34:25:cf:51:41:47:c4:f6:94:f6:dd:44:88:e5:cd:a5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'soojung,192.168.0.3' (RSA) to the list of known hosts.
root@soojung's password:
id_rsa.pub                                    100%  226     0.2KB/s   00:00



Ŭ¶óÀ̾ðÆ®(soojung)¿¡¼­ ¼­¹ö(junix)ÀÇ °ø°³Å°·Î /root/.ssh/authorized_keys ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
[root@soojung .ssh]# cat id_rsa.pub >> /root/.ssh/authorized_keys
È£¼® A ¼­¹ö¿¡¼­ -> B ¼­¹ö·Î ÀÚµ¿·Î±×ÀΠó¸®
1) ¹æ¹ý2 ¸¦ A¼­¹ö¿¡¼­ ½ÇÇàÇϸéµÊ
# ssh-keygen -b 1024 -t rsa
# scp .ssh/id_rsa.pub B¼­¹ö:/dir
# cat id_rsa.pub >> .ssh/authorized_keys
08-05-23 14:33
121.¢½.39.7
È£¼® 132 ¹ø ¾ÆÀÌÇǴ ƯÀÌÇÏ°Ô ksh ·Î µÇ¾î¾ß °ø°³Å°°¡ Àû¿ëµÇ´Â Çö»óÀÌ ÀÖ¾úÀ½
°èÁ¤À» ksh ·Î Àû¿ëÇÏ°í ÇϸéµÊ 132 ¼­¹ö
09-07-08 22:42
220.¢½.198.178
È£¼® A ¼­¹ö¿¡¼­ -> B ¼­¹ö·Î ÀÚµ¿·Î±×ÀΠó¸®
A¼­¹öÀÇ id_rsa.pub  ¸¦ B¼­¹ö·Î Àü¼ÛÈÄ B¼­¹ö¿¡¼­ authorized_keys ¿¡ Ãß°¡ÇÑ´Ù.

1) ¹æ¹ý2 ¸¦ A¼­¹ö¿¡¼­ ½ÇÇàÇϸéµÊ
A¼­¹ö ==>
# ssh-keygen -b 1024 -t rsa
# scp .ssh/id_rsa.pub B¼­¹ö:/dir
B¼­¹ö ==>
# cat id_rsa.pub >> .ssh/authorized_keys
10-07-29 09:37
121.¢½.39.7
È£¼® ÀϹݰèÁ¤À¸·ÎÇϸé ÀÚµ¿·Î±×ÀÎÀÌ ¾ÈµÉ°æ¿ì
$ chmod 700 authorized_keys
¸¸¾à º¯°æÇÏÁö ¾Ê°í SSHÁ¢¼ÓÀ» ½ÃµµÇÏ¸é ¾Æ·¡ ·Î±×¿Í °°ÀÌ ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
/var/log/secure
Aug 15 09:41:06 localhost sshd[3604]: Authentication refused: bad ownership or modes for
file /home/yourid/.ssh/authorized_keys
11-05-12 18:23
121.¢½.39.7
°Ô½Ã¹° 121°Ç
¹øÈ£ ºÐ·ù Á¦¸ñ
À̸§
³¯Â¥ ÀÐÀ½
10 ÀÏ¹Ý   ¸®´ª½º Çϵå¿þ¾î Á¤º¸ º¸±â È£¼® 05-07-22 5831
¡æ ÀÏ¹Ý   ssh ·Î±×ÀÎ ¾øÀÌ ÀÚµ¿À¸·Î Á¢¼ÓÇÏ´Â ¹æ¹ý (4) È£¼® 07-06-18 5831
21 ÀÏ¹Ý   Kymera WebFTP À¥ ftp Á¤º¸ bcpark.net ¿¡¼­ »ç¿ëµÊ È£¼® 06-01-25 5844
14 ÀÏ¹Ý   sar ÀÌ¿ëÇÏ¿© ½Ã½ºÅÛ ¸ð´ÏÅ͸µÇϱâ È£¼® 05-10-19 5899
19 ÀÏ¹Ý   ¸®´ª½º ÆÄÀÏÂÉ°³±â,³ª´©±â ,ÆÄÀÏ,È­ÀÏ,split ,access_log È£¼® 06-01-09 5964
13 ÀÏ¹Ý   wget »ç¿ë¹ý È£¼® 05-08-25 6064
11 ÀÏ¹Ý   ƯÁ¤ ÆÄÀÏ/µð·ºÅ丮¸¦ ¹Ù²Ù±â ½©½ºÅ©¸³Æ® Æ÷ÇÔ È£¼® 05-07-22 6111
22 ÀÏ¹Ý   SYN_RECV 80 À¥Æ÷Æ® °ø°Ý¿¡ ´ëÀÀÇϱâ (1) È£¼® 06-02-01 6114
45 ÀÏ¹Ý   DL 360 ¿¡´Ù ¸®´ª½º ¼³Ä¡Çϴµ¥ scsi Çϵåµð½ºÅ©¸¦ ÀâÁö ¸øÇÒ¶§ È£¼® 06-12-27 6225
18 ÀÏ¹Ý   ½Ã½ºÅÛ°ü¸®ÀÚ¸¦ À§ÇÑ ½Ã½ºÅÛÀå¾Ö¿Í ´ëó¹ý È£¼® 06-01-09 6333
33 ÀÏ¹Ý   iptraf ³×Æ®¿÷ Æ®·¹ÇÈ °¨½Ã È®ÀÎ ÇÁ·Î±×·¥ (good ) È£¼® 06-05-01 6361
62 ÀÏ¹Ý   GLIBC_2.0 not defined in file libc.so.6 ¿¡·¯ ÇØ°áÇϱâ (5) È£¼® 08-01-17 6380
55 ÀÏ¹Ý   [GOOD] SSH»ç¿ëÇϱâ - OpenSSH ÀÌ¿ë Linux °­Á ȣ¼® 07-06-18 7286
38 ÀÏ¹Ý   ¸®´ª½º º¸¾È ÇÏ¿ìÅõ kldp http://kldp.org/HOWTO/Security-HOWTO È£¼® 06-08-25 8051
88 ÀÏ¹Ý   [curl] CURL »ç¿ë¹ý È£¼® 09-03-11 8693
óÀ½ÀÌÀü  [1] [2] [3] [4] [5] [6] [7] 8 [9]  ´ÙÀ½¸Ç³¡
 
Copyright © zenos.pe.kr. All rights reserved.