Skip to content

x/crypto/ssh/terminal: cannot handle xterm based terminals on Windows #13088

@frederich

Description

@frederich

At work, I use a combination of Windows + Cygwin/MSYS2 to get my job done. Both Cygwin and MSYS2 using a mintty which is a xterm-256color terminal. My preferred backup tool on this setup is restic. Restic use x/crypto/ssh/terminal for password authentication. This works fine with a standard Dos Box, but not with my bash (Posix) setup see restic issue #330.

So I've changed the terminal code to use the util_linux.go version, but syscall.Termios is not defined.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions