このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
server:ls210d [2019/10/21] – プログレス合同会社 | server:ls210d [2019/10/21] – プログレス合同会社 | ||
---|---|---|---|
行 39: | 行 39: | ||
なお、acp_commander.jarはjavaツールですので< | なお、acp_commander.jarはjavaツールですので< | ||
- | < | + | < |
cd D:¥Tools | cd D:¥Tools | ||
java -jar acp_commander.jar -t $IP -ip $IP -pw $ADMINPW -c "/ | java -jar acp_commander.jar -t $IP -ip $IP -pw $ADMINPW -c "/ | ||
- | </ | + | </ |
ACP_commander out of the nas-central.org (linkstationwiki.net) project. | ACP_commander out of the nas-central.org (linkstationwiki.net) project. | ||
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. | Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. | ||
行 49: | 行 49: | ||
Starting sshd: OK | Starting sshd: OK | ||
: | : | ||
+ | </ | ||
+ | java -jar acp_commander.jar -t $IP -ip $IP -pw $ADMINPW -c "sed ' | ||
</ | </ | ||
; 2行目 | ; 2行目 | ||
行 85: | 行 87: | ||
rootユーザーでSSHログインします。 | rootユーザーでSSHログインします。 | ||
- | < | + | < |
+ | mkdir .ssh | ||
+ | chmod 700 .ssh | ||
+ | cd .ssh | ||
+ | touch authorized_keys | ||
+ | chmod 600 authorized_keys | ||
+ | </ | ||
+ | |||
+ | ...(scpやsftpを使用して公開鍵をLS210Dの.sshに転送します)... | ||
+ | |||
+ | </ | ||
+ | cat id_ecdsa.pub >> authorized_keys | ||
+ | # | ||
+ | # パスワード認証を無効にします | ||
+ | # | ||
+ | vi / | ||
+ | </code><code plain; first-line: | ||
+ | : | ||
+ | # | ||
+ | PasswordAuthentication no | ||
+ | : | ||
+ | </ | ||
+ | # | ||
+ | # SSHサーバーを再起動します | ||
+ | # | ||
+ | / | ||
</ | </ | ||