SSH 允许你通过命令行远程访问 EmuELEC 设备,进行高级配置和故障排除。
启用 SSH
通过界面启用
- 进入设置 → 系统设置
- 找到 SSH 选项
- 选择启用
默认凭据
用户名: root
密码: emuelec 或 1234
连接 SSH
使用 Windows
下载 PuTTY 或使用 Windows 10+ 内置的 SSH 客户端:
ssh root@192.168.1.100
使用 Mac/Linux
ssh root@emuelec.local
或
ssh root@192.168.1.100
常用命令
| 命令 | 说明 |
|---|---|
| reboot | 重启系统 |
| poweroff | 关机 |
| df -h | 查看磁盘空间 |
| free -h | 查看内存 |
| top | 查看进程 |
| ls /storage/roms/ | 查看 ROM 目录 |
| cat /emuelec/logs/emuelec.log | 查看日志 |
文件传输
使用 SCP
scp rom.zip root@192.168.1.100:/storage/roms/
scp root@192.168.1.100:/storage/roms/save.dat ./
使用 SFTP
sftp root@192.168.1.100
安全建议
- 使用强密码
- 不使用时禁用 SSH
- 考虑使用 SSH 密钥认证
© 版权声明
文章版权归作者所有,未经允许请勿转载。



暂无评论内容