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

Open
frederich opened this issue Oct 28, 2015 · 3 comments
Open
Milestone

Comments

@frederich
Copy link
Contributor

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
Copy link
Contributor

Related to #13104

@h0nIg
Copy link

h0nIg commented Dec 8, 2016

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

@gza
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
Projects
None yet
Development

No branches or pull requests

6 participants