B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-23 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 143 article 2002-05-02 00:39:28
NickName   Ç®ºñ´©
Subject   SSH ÆÁ
Ãâó : http://chongnux.klug.or.kr/board/read.php?table=tip1&no=444

ssh »ç¿ë ÆÁ 

ssh ¸¦ ¿©·¯°¡Áö·Î È°¿ëÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ´õ ÀÚ¼¼ÇÑ °ÍµéÀº man 
ssh ¸¦ ÇÏ¿© ¸Þ´º¾ó ÆäÀÌÁö¸¦ º¸½Ê½Ã¿ä. ¸ÕÀú ¾Æ·¡¿Í °°ÀÌ ÇÏ¸é ¼­¹ö¿¡ ÀÖ
´Â ÆÄÀÏÀ» ·ÎÄ÷Πº¹»ç ÇÒ ¼ö ÀÖ½À´Ï´Ù. 

#ssh  user at remote.com  dd  if=remotefilename | dd 
of=localfiename 
 

´ÙÀ½°ú °°ÀÌ ÇÏ¸é ¼­¹öÀÇ ÆÄÀÏÀ» ·ÎÄÃÀÇ /dev/fd0 ÀåÄ¡ µå¶óÀ̹ö¿¡ ±â·Ï
ÇÒ ¼ö ÀÖ½À´Ï´Ù. 

#ssh user at remote.com dd if=remotefilename | dd of=/dev/fd0

 

¾Æ·¡ÀÇ ¹æ¹ýÀº ÇöÀçÀÇ µð·ºÅ丮¸¦ ¾ÐÃàÇÏ¿© ¼­¹öÀÇ junilove °èÁ¤ÀÇ È¨µð
·ºÅ丮¿¡ my_local_backup.tar.gz ¿¡ ±â·ÏÇÕ´Ï´Ù. 

#tar cfz - . | ssh junilove at yourmachine.com dd 
of=my_local_backup.tar.gz
Regist Addr [ 192.168.0.2 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®