|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 109 article |
2002-02-22 05:16:12 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
ssh¸¦ ÀÌ¿ëÇÑ ¿ø°Ý ÆÄÀÏ º¹»ç [ÀÓÀºÀç] |
|
|
scp´Â ssh Ŭ¶óÀ̾ðÆ® ÆÐÅ°Áö¿¡ µû¶ó¿É´Ï´Ù.
¿¹¸¦ µé¾î, º¹»çÇÏ·Á´Â ÆÄÀϸíÀÌ 'dumb' ¶ó°í ÇÏ°í Á¢¼ÓÇÏ·Á´Â ¿ø°Ý ¼¹öÀÇ
ÁÖ¼Ò´Â www.foobar.com, ´ç½ÅÀÇ ½© °èÁ¤Àº babo ¶ó°í ÇÑ´Ù¸é,
dumb ÆÄÀÏÀ» www.foobar.com ÀÇ babo °èÁ¤ Ȩ µð·ºÅ丮¿¡ º¹»çÇϱâ:
scp dumb babo at www.foobar.com:.
www.foobar.com ÀÇ babo °èÁ¤ Ȩ µð·ºÅ丮¿¡ ÀÖ´Â dumb ÆÄÀÏÀ» ·ÎÄ÷Πº¹
»çÇϱâ:
scp babo at www.foobar.com:dumb .
°£´ÜÇÏÁÒ?
¸¸¾à ~/.ssh/config ÆÄÀÏ¿¡ ´ÙÀ½°ú °°ÀÌ www.foobar.com ÀÇ °èÁ¤À» ¼³Á¤
ÇØ ³õ¾Ò´Ù¸é,
Host *fbc
HostName www.foobar.com
User babo
ForwardAgent yes
´ÙÀ½°ú °°ÀÌ ´õ °£´ÜÇÏ°Ô ÇÒ¼ö ÀÖ½À´Ï´Ù.
scp dumb fbc:.
¶ÇÇÑ scp ´Â -r ¿É¼Çµµ °¡Áö°í Àִµ¥ ÀÌ°ÍÀº µð·ºÅ丮¸¦ Åëä·Î º¹»ç ÇÒ¶§
À¯¿ëÇÕ´Ï´Ù. ¿¹¸¦ µé¾î test/ µð·ºÅ丮¾ÈÀÇ ¸ðµç ÆÄÀÏ°ú ÇÏÀ§ µð·ºÅ丮¸¦
¼¹ö °èÁ¤ÀÇ www µð·ºÅ丮 ¾È¿¡ º¹»ç ÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.
scp -r test/ babo at www.foobar.com::www/
[ °ü·Ã±Û ]
|
|
Page Loading [ 0.03 Sec ]
SQL Time [ 0 Sec ]
|
|
|