Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit dc8016d21b87a3dc0803ee229ee00cf34634fd35
parent d496b4ff87c91445cad52f7e858c089a15d32b16
Author: MineRobber___T <khuxkm@ttm.sh>
Date:   Fri,  6 Sep 2019 13:30:05 -0400

Passphrase to decrypt, not password

While it is true that the exception called is "PasswordRequiredException", returning a message of needing a "passphrase" instead will clue the reader in that their key's password needs to go into the "Passphrase" box
Mwebssh/handler.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webssh/handler.py b/webssh/handler.py @@ -153,7 +153,7 @@ class PrivateKey(object): try: return pkeycls.from_private_key(self.iostr, password=password) except paramiko.PasswordRequiredException: - raise InvalidValueError('Need a password to decrypt the key.') + raise InvalidValueError('Need a passphrase to decrypt the key.') except paramiko.SSHException as exc: logging.error(str(exc)) msg = 'Invalid key'