-
Notifications
You must be signed in to change notification settings - Fork 160
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
Password based authentication not available #8
Comments
Password auth is available only if rtop has a pty. How are you running it? |
I'm running it from the terminator terminal emulator with zsh. I just now tried bash and konsole (which comes with KDE) and screen but still no luck. I have OpenSuse 12.3 here at work. I will try again at home with a different setup to help isolate the issue. |
See sshhelper.go#addPasswordAuth. It adds password auth to the list of auth mechanisms only if terminal.IsTerminal(0) is true. (Where terminal is golang.org/x/crypto/ssh/terminal and 0 is the stdin fd). This is to prevent piping in passwords and to be able to put the terminal in raw mode so the password can be read in without echo. You need to figure out why terminal.IsTerminal(0) is returning false for your setup. |
Same problem occurs on Windows 7, using rtop 1.0 with Go 1.5.1. rtop is running in command prompt (cmd.exe). rtop: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain |
I'm also able to replicate bdaniel7's issue on my Windows 10 Pro computer. |
On the homepage it says that I can authenticate with a password but I keep getting this error:
I don't see a hidden flag in the config and I can't set it in my .ssh/config.
The text was updated successfully, but these errors were encountered: