Giter Club home page Giter Club logo

Comments (10)

KresoPuska avatar KresoPuska commented on May 24, 2024 2

Adding line "UserPassSSHNoSave=yes" into kitty.ini section "[KiTTY]" has finaly solved the agony.
Open kitty.ini and add the line into section "KiTTY]"...
[KiTTY]
UserPassSSHNoSave=yes

Unfortunately it doesn't work for me. After using my Yubikey, KiTTY is storing its value and re-using as password. FYI, password is NOT saved, it's empty.

Keyboard-interactive authentication prompts from server:
| Use your Yubi:
| Password:
Send automatic password (Using keyboard-interactive authentication)
End of keyboard-interactive prompts from server
Access denied
Keyboard-interactive authentication prompts from server:
| Use your Yubi:

In my kitty.ini I actually have two lines ...
UserPassSSHNoSave=yes
userpasssshnosave=yes
Maybe it's the second line which is doing the trick (I haven't tried that).

from kitty.

bobvandevijver avatar bobvandevijver commented on May 24, 2024

I've experienced exactly this same issue, so I would like to see it fixed as well :)

from kitty.

chrapuch avatar chrapuch commented on May 24, 2024

I have the same issue. We use a special PAM module with SSH, so first it asks for a UN, then Auth Code, then Password, so strguntbr's patch is not enough for me sadly. So yeah, still looking for a fix. Thanks.

from kitty.

jolsen71 avatar jolsen71 commented on May 24, 2024

Not sure if I should pile on this ticket, but this behavior also caused a problem for me. I have a server I was trying to log into and my password had expired, so it was trying to prompt me to enter a new password, but KiTTY v0.71.0.7p kept doing the "Send Automatic Password (Using keyboard-interactive authentication)"-thing and prevented me from successfully changing the password, which then ultimately prevented me from being able to log in.

It also looks like KiTTY suppressed at least one line of output from the server, too (about the password expiration):

image

I was able to successfully set a new password and log in using .72 of PuTTY, however:

image

from kitty.

KresoPuska avatar KresoPuska commented on May 24, 2024

I have the same problem with 2FA (Google authenticator).
My servers are setup to first ask for verification code and then for password, but KiTTY somehow does not relay my inputs to the servers. This stopped working with 0.71
PuTTY works fine to connect to same servers.

from kitty.

odin81 avatar odin81 commented on May 24, 2024

Hi, I have the same issue. The password is sent with 2FA activated, so I'm not able to type in the verification code. I have to use putty for that server, there it works fine.

from kitty.

KresoPuska avatar KresoPuska commented on May 24, 2024

Adding line "UserPassSSHNoSave=yes" into kitty.ini section "[KiTTY]" has finaly solved the agony.

Open kitty.ini and add the line into section "KiTTY]"...
[KiTTY]
UserPassSSHNoSave=yes

from kitty.

chrapuch avatar chrapuch commented on May 24, 2024

Adding line "UserPassSSHNoSave=yes" into kitty.ini section "[KiTTY]" has finaly solved the agony.

Open kitty.ini and add the line into section "KiTTY]"...
[KiTTY]
UserPassSSHNoSave=yes

Unfortunately it doesn't work for me. After using my Yubikey, KiTTY is storing its value and re-using as password. FYI, password is NOT saved, it's empty.

Keyboard-interactive authentication prompts from server:
| Use your Yubi:
| Password:
Send automatic password (Using keyboard-interactive authentication)
End of keyboard-interactive prompts from server
Access denied
Keyboard-interactive authentication prompts from server:
| Use your Yubi:

from kitty.

chrapuch avatar chrapuch commented on May 24, 2024

HA! You are right! There is a bug in kitty.c, it should be case insensitive, but is not.

	if( ReadParameter( INIT_SECTION, "userpasssshnosave", buffer ) ) { 
		if( !stricmp( buffer, "no" ) ) SetUserPassSSHNoSave(0) ;
		if( !stricmp( buffer, "yes" ) ) SetUserPassSSHNoSave(1) ;
	}

from kitty.

lars18th avatar lars18th commented on May 24, 2024

Hi @cyd01 ,

Please, can do you check with case insensitive with the INI parameters?

In any case, I suggest to close this issue as the original problem is fixed.
Thank you to all!

from kitty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.