1
pitfall jino sftp only
dedinit wiki sync edited this page 2026-11-01 16:48:31 +00:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
title, created, updated, type, tags
title created updated type tags
pitfall-jino-sftp-only — на Jino нет удалённого exec 2026-11-01 2026-11-01 pitfall
деплой
jino
sftp
грабли

Питфолл: аккаунт Jino только SFTP, rsync/ssh-exec не работают

Что происходит

Попытка деплоя через rsync или ssh <host> <command> падает с exec request failed on channel 0. Пароль и ключ при этом верные — сервер просто не разрешает запуск команд.

Почему

Хостинг Jino для этого аккаунта (kpa39l_dedinit) предоставляет только SFTP-подсистему.

Как правильно

Единственный путь — tools/deploy_sftp.py (инкрементальная заливка по размеру + SHA1, удаление устаревших файлов), запускаемый workflow deploy-dedinit:

export SSHPASS='<секрет SSHPASS>'
python3 tools/deploy_sftp.py --dry-run   # симуляция, ничего не пишет
python3 tools/deploy_sftp.py

Ссылки