ssh ã®èµ·åã³ãã³ãã scp ã®æä½ãã°ãå¿
è¦ã¨ããæ¡ä»¶ããã£ãã®ã§ããã®å°ç´°å·¥ã ssh ã§èµ·åãããããã㯠scp ã§åå¾ãããã¡ã¤ã«ã®ãã°ãã¨ããããããã ãããªãã®ãå¿
è¦ãã¨ãã話ãã¹ã«ã¼ãã¦èããã ssh éµèªè¨¼ã¯ã.ssh/authorized_keys ã«å
¬ééµãè¨è¿°ãã¦ãssh ã®ãã°ã¤ã³èªè¨¼ãè¡ãã ãã® authorized_keys ã«ãã ãcommandãã¨ãã option ãå©ç¨ããã ãcommandã ã«ã¯ãæ¬æ¥ã¯ãã¢ã¯ã»ã¹æã«å®è¡ãããã³ãã³ãããè¨è¿°ããã ãã¨ãã°ãã¢ã¯ã»ã¹ãã¦ãã¡ã¤ã«ä¸è¦§ã欲ãããã°ãå
¬ééµã«ä»¥ä¸ã®ããã«è¨è¿°ããã command="/bin/ls",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-dss AAA.... æå®ãã
{{#tags}}- {{label}}
{{/tags}}