id:n_shuyo:20060814:1155547412 ã®ç¶ãã ã¾ãã¯ã·ã³ãã«ãª ssh ã«ãããªã¢ã¼ãã³ãã³ãå®è¡ã JSch ã®ä½æ³ã¯ã åæ©è½ã¯ ChannelSession ã extends ãããã£ãã«ã¯ã©ã¹ã«å®è£ ããã¦ãã JSch ã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ãã¦ãopenChannel() ãçºè¡ãã¦ããã£ãã«ã¤ã³ã¹ã¿ã³ã¹ãåå¾ãã ã¨ãããã®ã ãã£ãã«ã¯ã©ã¹ã¯ exec(ãªã¢ã¼ãå®è¡), sftp, shell ãªã©ãªã©ãç¨æããã¦ããï¼scp ã¯ãªãããªãâ¦â¦ï¼ã ãªã¢ã¼ãã® HostKey ãã§ãã¯ããããªããã©ããã®è¨å®ã¯ãStrictHostKeyChecking è¨å®å¤ã« ask|yes|no ãæå®ããã ask ãæå®ããå ´åã¯ã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®ç¾©ãã¦ã対話çã«ç¢ºèªããããã¨ãã§ããããããã§ã¯çãã ä¸ã®ä¾ã§ã¯ no ãè¨å®ãã¦ãããããã§ãã¯ãã
{{#tags}}- {{label}}
{{/tags}}