【问题标题】:Warning: no access to tty (Bad file descriptor) Visual Studio Code警告:无法访问 tty(错误文件描述符)Visual Studio Code
【发布时间】:2020-06-30 01:39:26
【问题描述】:

使用带远程 ssh 的 VSCODE 1.43 时,我无法访问 RHEL7 服务器并收到以下错误消息:

[12:52:12.322] > Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell.
[12:52:12.562] stderr> stty: standard input: Inappropriate ioctl for device
[12:52:12.564] stderr> stty: standard input: Inappropriate ioctl for device
[12:52:12.590] stderr> stty: standard input: Inappropriate ioctl for device```

【问题讨论】:

    标签: linux macos visual-studio-code remote-debugging vscode-remote


    【解决方案1】:

    就我而言,我使用“ssh fs”扩展名

    “remote - ssh”从我的 windows 客户端和我的 linux 客户端在我的 linux 服务器上工作,也从我的 windows 客户端在我的 freebsd 服务器上工作, 但是从我的 linux 客户端在我的 freebsd 服务器上时不起作用

    所以我将 vsc 扩展名从 kelvin schoofs 更改为“ssh fs” 它有效

    【讨论】:

      【解决方案2】:

      https://github.com/microsoft/vscode-remote-release/issues/2527

      从这个帖子看来,将“Remote - SSH”扩展降级到 0.49 是最好的临时修复。它对我有用。

      要降级,请单击“远程 - SSH”扩展上的“管理”并选择“安装另一个版本...”,从版本列表中选择 0.49.0。

      【讨论】:

        猜你喜欢
        • 2020-06-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-10-15
        • 1970-01-01
        • 2016-02-08
        • 1970-01-01
        相关资源
        最近更新 更多