Open amazerol opened 5 years ago
Hi, try keyboardInteractive or keyboardInteractivePass property in config file.
keyboardInteractive: true
This only work in SFTP protocoll. First require verify code, last require password with interaction.
Thank you for your very quick answer !
Unfortunately, I've done as you asked but this doesn't solve the problem : I'm first asked for the verify code (and this works since if it's wrong, I've got an error immediatly and if it's right, it says that this is ok and proceeding ... and then i've got an error "all authentication method failed") I have no interaction to enter the password after the verify code
Thanks anyway for trying :-)
Hi there, here is what I want to achieve and the problem I'm facing. I hope you'll be able to help me with this matter.
goal
In order to secure the access to my remote server, I decided to use 2-step authentication : password first then HOTP in an interactive way.
description of the problem
Unfortunately, remote-ftp allow me to send the password to the server but don't ask anything for the HOTP. If I change the order of authentication, then I can send HOTP but not the password. This means that remote-ftp suppose only a 1-step authentication. Would it be possible to chain prompts in order to go through 2-step authentication ? Thanks in advance