sshwifty icon indicating copy to clipboard operation
sshwifty copied to clipboard

Increase MAX_USERNAME_LEN to support Warpgate Access-Ticket usernames

Open m2sh opened this issue 5 months ago • 2 comments

Hi,

I have been using Sshwifty with Warpgate to connect to remote hosts.

When using Warpgate’s Access-Ticket feature for temporary host access, the automatically generated username exceeds the MAX_USERNAME_LEN limit. This results in the following error on the connection page: "Error: Username must not longer than 64 bytes".

Example ticket username: ticket-b79e6fe8871b2afabb44697d269ed5804eace322f7db750b1cbd07293b91d9de

Would it be possible to increase this limit to support longer usernames?

Thanks!

m2sh avatar Aug 14 '25 16:08 m2sh

Hi,

I've released 0.4.0-beta which extended the username length limit to 127 bytes.

The new version is available now, please take a look see if it solved the problem you've encountered.

Thanks for suggesting.

nirui avatar Aug 15 '25 14:08 nirui

Thank you!

It works like a charm.

Image

m2sh avatar Aug 15 '25 16:08 m2sh