fix: SFTP paths on Windows — double-slash for remote, remove broken MSYS env

- Remote paths in upload/download require // prefix on Windows/Git Bash
- Removed useless MSYS_NO_PATHCONV from Python (must be shell-level)
- Removed broken bash wrapper
- Updated skill docs with // path rule and examples

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-02-24 07:14:49 -05:00
parent d7101a12d2
commit e75afddb99
2 changed files with 12 additions and 7 deletions

View File

@@ -48,13 +48,15 @@ python ~/.server-connections/ssh.py ALIAS --no-sudo "command"
### Загрузить файл на сервер
```bash
python ~/.server-connections/ssh.py ALIAS --upload /local/path /remote/path
python ~/.server-connections/ssh.py ALIAS --upload "D:/path/local/file" //remote/path/file
```
**ВАЖНО (Windows/Git Bash):** remote path ОБЯЗАТЕЛЬНО с двойным слешем `//home/...`, `//tmp/...`. Одинарный `/` будет сконвертирован Git Bash в Windows-путь и сломает SFTP.
### Скачать файл с сервера
```bash
python ~/.server-connections/ssh.py ALIAS --download /remote/path /local/path
python ~/.server-connections/ssh.py ALIAS --download //remote/path/file "D:/path/local/file"
```
Remote path тоже с `//`.
### Установить SSH-ключ на сервер
```bash