6 Warning about sftp follow ssh path function
ZHAO Xudong edited this page 2026-01-25 13:16:28 +08: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.

Warning About SFTP Follow SSH Path Function

Language / 语言: English | 中文


English

Screen Shot 2024-08-09 at 16 55 34

The SFTP follow SSH path function is an experimental feature, which has some known issues. Please turn it off if anything goes wrong.

When SFTP follow SSH path is enabled, it uses shell integration with OSC 633 sequences to track the current working directory. This can cause problems in some situations.

This feature only supports bash/zsh/sh/ash and similar shells, or unknown terminals where sh injection commands work. Fish/windows terminal is not supported yet.

For more details, see the implementation in src/client/components/terminal/shell.js.

中文

Screen Shot 2024-08-09 at 16 55 34

SFTP跟随SSH路径是一个试验性质的功能存在很多固有缺陷如果使用中发现任何问题切换为关闭状态即可

当启用 SFTP 跟随 SSH 路径时,它使用 OSC 633 序列的 shell 集成来跟踪当前工作目录,这可能会导致一些问题,某些情况下终端无法正常工作。

此功能仅支持 bash/zsh/sh/ash 等 shell或 sh 注入命令有效的未知终端。Fish/windows 终端暂不支持。

更多详情,请参见 src/client/components/terminal/shell.js 中的实现。