Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

frederich opened this issue Oct 28, 2015 · 3 comments


Copy link

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.

@frederich frederich changed the title x/crypto/ssh/terminal cannot handle xterm based terminals on Windows x/crypto/ssh/terminal: cannot handle xterm based terminals on Windows Oct 29, 2015
Copy link

Related to #13104

Copy link

h0nIg commented Dec 8, 2016

it seems that the #13104 was solved, will there be an update?

Copy link

gza commented Mar 15, 2017

this could be a workaround: cloudfoundry/cli#171 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

6 participants