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

Open
frederich opened this Issue Oct 28, 2015 · 3 comments

Comments

Projects
None yet
6 participants
@frederich
Copy link
Contributor

frederich commented Oct 28, 2015

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

@davecheney

This comment has been minimized.

Copy link
Contributor

davecheney commented Oct 31, 2015

Related to #13104

@h0nIg

This comment has been minimized.

Copy link

h0nIg commented Dec 8, 2016

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

@gza

This comment has been minimized.

Copy link

gza commented Mar 15, 2017

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

@bradfitz bradfitz added the OS-Windows label Nov 21, 2018

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