|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read Reply from No. 109 article |
2002-02-22 05:17:12 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
Re: sftp ÀÌ¿ëÇÏ¸é °£´Ü(?) |
|
|
/etc/ssh/sshd_config
ÀÇ ³»¿ë ¸¶Áö¸· ÁÙ¿¡ º¸¸é sftp °ü·Ã ÁÙÀÌ ÀÖ´Ù¸é »ç¿ëÀÌ °¡´ÉÇÏ´Ù. ¾ø´Ù¸é ¾÷
µ¥ÀÌÆ® Ç϶ó.
ssh ¿Í Á¢¼Ó »ç¿ë¹ýÀº °°À¸¸ç 22¹ø Æ÷Æ®¸¦ ÀÌ¿ëÇؼ ftp ±â´É±îÁö Áö¿øÇÑ´Ù.
Á¢¼ÓÈÄ »ç¿ë¹ýÀº help ¸¦ ÀÌ¿ëÇÏ¸é µÈ´Ù.
Ç®ºñ´© wrote..
: 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.01 Sec ]
|
|
|