sshã³ãã³ãããããã»ã¹ãæ®ããããªï¼tail -fã¨ãï¼ã³ãã³ããå®è¡ãã¦ãsshãçµäºï¼ctrl+cï¼ããã¦ããã»ã¹ãæ®ã£ã¦ããã ã¨ãã«multitailã§è¤æ°ã®ãssh host tail -fããåæå®è¡ãã¦ããã°ã®æ°ã ãããã»ã¹ããã¹ãã«æ®ã£ããã ä¸åº¦ãªã¢ã¼ãã§ãã°ã¤ã³ãã¦ããå®è¡ããâ¦â¦ã¨ããçé¢ç®ãªæ¹æ³ã§åé¿ãã¦ãããã©ããã°ã®ç£è¦ã ãã¨ãé£æ¥ã ã£ãã®ã§ãã¡ããã¨èª¿ã¹ã¦ã¿ãã ã§ããssh -tãã§å¼·å¶çã«ä»®æ³ç«¯æ«ï¼çä¼¼ttyï¼ãå²ãå½ã¦ãã°ããã¼ã«ã«å´ã®å¶å¾¡ç«¯æ«ãããctrl+cã§ããã»ã¹ãã¡ããã¨çµäºã§ããã âã¡ããã¨ç解ã§ãã¦ãªãããããããµã #!/bin/sh SSH="/usr/bin/ssh" SRVTAIL="/usr/bin/tail" HOST="hoge" LOG="/var/log/error-log" LINE=100 $SSH -t $HO
{{#tags}}- {{label}}
{{/tags}}