Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
(mobile shell) Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for interactive SSH terminals. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrom
sshã«ã¯ãã¤ãããã¯è»¢éã¨ããæ©è½ãããããã®æ©è½ã使ãã¨ãsshã¯ã¢ããªã±ã¼ã·ã§ã³å´ã«ã¯SOCKSããã¯ã·ã¨ãã¦æ¯ãèãããããããsshã®æ¥ç¶å ã¾ã§ã¯æå·åãããç¶æ ã§éä¿¡ãè¡ãããã ããã ãã ã¨é常ã®ãã³ããªã³ã°ã¨ã©ãéãã®ãããããããªããããããªããããã¤ãããã¯è»¢éã®å ´åã¯è»¢éãã¼ããæå®ããå¿ è¦ããªããããããã¤ãããã¯ã¨è¡¨ç¾ãããæ以ã ããã ä¾ãã°ããªãã£ã¹Aã«ããéçºãµã¼ãdev1ã«ãªãã£ã¹å¤ããã¢ã¯ã»ã¹ãããã¨ãããããããdev1ã¯ãªãã£ã¹å¤ã«ã¯å ¬éããã¦ããããè¸ã¿å°ãµã¼ãladd1ãçµç±ãã¦ããã¢ã¯ã»ã¹ãããããªããladd1ã¯sshã®ã¿ãåãã¦ãããããã¾ã§ã¯sshã®ãã³ããªã³ã°æ©è½ã使ã£ã¦ã¢ã¯ã»ã¹ãã¦ããã®ã ããã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ããããã°ããéã¯ãã¡ãã¡ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®ãã¼ãæ¯ã«ãã³ãã«ãæãã®ãé¢åãããããªãã£ã¹ã«éãããã¼ã¿ã»ã³ã¿ã¼ã¸
Tera Term ã¯ããªãªã¸ãã«ã® Tera Term Pro 2.3 ã®åä½è å ¬èªã®å¾ç¶çã§ãããªã¼ãã³ã½ã¼ã¹ã§éçºããã¦ãããUTF-8 表示ã«å¯¾å¿ãã¦ãã¾ãã ã¾ããSSH1 対å¿ã¢ã¸ã¥ã¼ã« TTSSH ãæ¡å¼µããSSH2 ãããã³ã«ããµãã¼ããã¦ãã¾ãã ã¤ã³ã¹ãã¼ã« ãã¦ã³ãã¼ããå®äºããããããã±ã¼ã¸ãã¯ãªãã¯ï¼ãããã¯ããã«ã¯ãªãã¯ï¼ãã¦å®è¡ãããããã¨ã¤ã³ã¹ãã¼ã«ã¦ã£ã¶ã¼ããèµ·åããã®ã§ãã¦ã£ã¶ã¼ãã®æ示ã«å¾ã£ã¦ã¤ã³ã¹ãã¼ã«ããããªããéä¸ã§ã¤ã³ã¹ãã¼ã«... ã¤ã³ã¹ãã¼ã«æ¹æ³ãè¦ã
sshã使ãããªãã¦ããªãã²ã¨ãè¦ãã¨ã¤ã©ã£ã¨ããããã¹ã¯ã¼ãèªè¨¼å¤§å¥½ã(ãã21ä¸ç´ã§ãã)ããã¹ãã¬ã¼ãºå ¥ããã®ãé¢å(keychain使ãã)ãæ¾ã£ã¨ããsshæ¥ç¶ãåãã¦ãã¾ãåãã!ã(screen使ãã)ã¨ãã ()ã¯~/.ssh/configã«ãããåçã®è¨å®ã詳ããã¯ssh(1)ã¨ssh_config(5)ãåç §ã®ãã¨ã ä¸å®æéãã¨ã«ãã±ãããéã£ã¦ãç¡éä¿¡æéçµéã«ããã»ãã·ã§ã³ãåæãããã®ãåé¿ããã > ssh -o 'ServerAliveInterval 60' host.example.org (ServerAliveInterval 60) ssh-agentã®forwardingãæå¹ã«ãã¦ãloginå ã®ãã¹ãã§ããã¹ãã¬ã¼ãºã®å ¥åãçç¥ããã > ssh -A host.example.org (ForwardAgent yes) remoteã®ã³ã³
å®è·µã§å¦ã¶ãä¸æ©é²ãã ãµã¼ãæ§ç¯ã»éç¨è¡ 1 æå·ã«å¼ãç¶ã㦠sshï¼ã»ãã¥ã¢ã»ã·ã§ã«ï¼ã®å¿ç¨æ¹æ³ã解説ãã¾ãã ssh ã«ã¯ã¯ã©ã¤ã¢ã³ãå´ããµã¼ãã¼å´ã®ãã¼ããå対å´ã¸è»¢éãã ãã¼ãã»ãã©ã¯ã¼ãæ©è½ãããã¾ãã ãã®æ©è½ã使ã£ã¦ï¼ ä¾ãã°æã¡æ©ãã¦ãããã¼ã PC ã¨ç¤¾å LAN ä¸ã® PC ã¨ã®é㧠任æã®ãããã³ã«ã使ã£ã¦å®å ¨ã«éä¿¡ã§ãã¾ãã 第 11 å ssh (å¾ç·¨) æãã¾ãã¦ããã§ã¨ããããã¾ãã ãããã 21 ä¸ç´ã§ããã æ®å¿µãªããã2001 å¹´å®å®ã®æ ãã¯å®ç¾ãããã«ããã¾ãããï¼ 20 ä¸ç´ä¸ã«ã¤ã³ã¿ã¼ããããå ¨ä¸ççã« ããã¾ã§æ®åãããã¨ã¯é©ãã¹ããã¨ã¨è¨ããã§ãããã å¤ãã®å½ã§æ¯è¼çä½ã³ã¹ãï¼1 ã§æ軽ã«ã¤ã³ã¿ã¼ãããã«æ¥ç¶ã§ããããã«ãªãã¾ããã æ¥æ¬ã«å½éé»è©±ãããã¦ï¼ å£æªãªåç·ç¶æ³ã¨æ¦ããªãããã½ã³ã³éä¿¡ãªã©ã§ã¡ã¼ã«ãèªã¿æ¸ããã¦ããããï¼2
å®è·µã§å¦ã¶ãä¸æ©é²ãã ãµã¼ãæ§ç¯ã»éç¨è¡ ssh (ã»ãã¥ã¢ã»ã·ã§ã«) ã®å¿ç¨æ¹æ³ã解説ãã¾ãã ssh ã§ã¯ï¼ ç´æ¥ TCP/IP æ¥ç¶ã§ããªããã¹ãã«æ¥ç¶ããããã«ï¼ ProxyCommand ãè¨å®ã§ãã¾ãã ãã¡ã¤ã¢ã¦ãªã¼ã«ãè¶ãã ProxyCommand ãä½æããã°ï¼ ãã¡ã¤ã¢ã¦ãªã¼ã«ã®åããå´ã«ãããã¹ããï¼ LAN ä¸ã®ãã¹ãã¨åæ§ã«æ±ãã¾ãã 第 10 å ssh (ä¸ç·¨) æ å ±å¦çæ¯èäºæ¥åä¼ï¼IPAï¼ãéåç£æ¥çã®è£å©ãåã㦠ãæªè¸ã½ããã¦ã§ã¢åµé äºæ¥ããéå§ãã¾ããï¼1 ã æ°èãªã©ã§ãåãä¸ããããã®ã§ãåãã®æ¹ãå¤ãã¨æãã¾ããï¼ ãã®æ¡æè ã®ä¸ã«ç§ã®ååããããã¨ã«æ°ä»ãã人ã¯å¤ãã¯ãªãã§ãããã æ¡æè ã®ä½äººãã¯åæãåããããã§ããï¼ ãã¥ã¼ã¹æ§ã®é«ã人ã ãã®ããã§ï¼ 幸ãä¸å¹¸ãç§ã®ã¨ããã«ã¯åæã®è©±ã¯èãè¾¼ã¿ã¾ããã§ããã ã¾ãï¼å½ãæ¯æ´ãã対象ã¨ã
å®è·µã§å¦ã¶ãä¸æ©é²ãã ãµã¼ãæ§ç¯ã»éç¨è¡ sshï¼ã»ãã¥ã¢ã»ã·ã§ã«ï¼ã¯ï¼ åã«ã»ãã¥ã¢ãª rsh (ãªã¢ã¼ãã»ã·ã§ã«) ã¨ããã ãã§ãªãï¼ ãã¾ãã¾ãªå¿ç¨ãå¹ã大å¤ä¾¿å©ãªã³ãã³ãã§ãã ãªã¢ã¼ãã»ãã¹ãä¸ã§ä»»æã®ã³ãã³ããå®è¡ã§ãã¾ãã ä»æå·ã¯ ssh ã®åºæ¬çãªä½¿ãæ¹ã解説ãï¼ æ¥æå·ã§ãã®å¿ç¨æ¹æ³ã解説ãã¾ãã 第 9 å ssh (åç·¨) ç§ã¯é楽㧠gcd.org ã¨ãããµã¤ããéå¶ãã¦ãã¾ãã éå¶è²»ï¼OCN ã¨ã³ããã¼ã®åç·ä»£ï¼ã®è¶³ãã«ããã¹ãï¼ ä»»æå£ä½ GCD ãä½ã£ã¦ä¼å¡ã«ãµã¼ãã¹ãæä¾ãã¦ãã¾ãã æåã®ä¼å¡ï¼1 㯠1996 å¹´ 1 æã«å ¥ä¼ãã¦ããã®ã§ï¼ ãããã 5 å¹´è¿ããµã¼ãã¹ãæä¾ãç¶ãã¦ãããã¨ã«ãªãã¾ãã ãã® 5 å¹´éã§ãã¾ãã¾ãªé害ãçºçãã¾ãããï¼ 1 æ¥ä»¥ä¸ã«ããããµã¼ãã¹åæ¢ã«é¥ã£ããã¨ã¯ä¸åº¦ãããã¾ããã é楽ï¼2 ã¨ãã¦ã¯ãªããªãã®å®å®åº¦
SSHãµã¼ãã¼ã¯ãTelnetåæ§ã«ã¯ã©ã¤ã¢ã³ããããµã¼ãã¼ã¸ãªã¢ã¼ãæ¥ç¶ãã¦ãé éå°ãããµã¼ãã¼ãæä½ãããã¨ãã§ããããã«ããããã®ãµã¼ãã¼ã ãã ããTelnetãæå·åããªãã§ãã®ã¾ã¾ãã¼ã¿ãéåä¿¡ããã®ã«å¯¾ãã¦ãSSHã§ã¯éä¿¡å 容ãæå·åãããããéä¿¡å 容ãçã¿è¦ããã¦ãåé¡ãªãã ããã§ã¯ãå é¨ããã ãã§ã¯ãªãå¤é¨ãããå®å ¨ã«ãµã¼ãã¼ã«ãªã¢ã¼ãæ¥ç¶ã§ããããã«ãããããéµæ¹å¼ã«ãããã°ã¤ã³ã®ã¿ã許å¯ãããã¨ã«ãããã¯ã©ãã«ã¼ã«ãããã¹ã¯ã¼ãã¢ã¿ãã¯ã§ä¸æ£ã«SSHãµã¼ãã¼ã¸ãã°ã¤ã³ããã¦ãã¾ããªãããã«ããã ã¾ããSSHãµã¼ãã¼ã¸ã®æ¥ç¶æ¹å¼ã«ã¯SSH1ã¨SSH2ãããã(SSH1ã¨SSH2ã®éãã«ã¤ãã¦)ãããå®å ¨ãªSSH2ã«ããæ¥ç¶ã®ã¿è¨±å¯ãããã¨ã¨ããã ããã«ãSSHãã°ã¤ã³ããã¦ã¼ã¶ã¼ãèªèº«ã®ãã¼ã ãã£ã¬ã¯ããªä»¥å¤ãåç §ã§ããªãããã«ããã ãªããSSHãµã¼ãã¼ãå¤é¨ã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}