This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # https://github.com/scruel/xiaomi-storage-nas-enable-ssh | |
| # Ver: 1.0.8.425.F24C26D24-REL (Enhanced) | |
| # 食用步骤: | |
| # - 登录小米智能存储客户端,以拉取证书文件 | |
| # - 打开终端(Windows 下请使用 WSL Ubuntu 终端) | |
| # - 终端执行 bash <(curl -s https://gist.githubusercontent.com/scruel/6b01bfa6847170f6edfaa07362b6d2fa/raw/xiaomi-storage-open-ssh-wsl.sh) | |
| # - 提示执行完毕,输出 root 信息即成功,APP 文件中也能看到 SUCCESS。 | |
| # 终端依赖:openssl, curl, ssh-keygen, wslpath (WSL) |