#1477

[Question]: hsh default session expiration

Openbuzzzoopened 5mo ago

Question Type

How to use

Your Question

Hi

I'm just testing hsh and just would like to know a clarification:

1) Expiration if i issue'hsh status' it returns:

`Hoop Shell Plugins (hsh)

Version 0.1.0 API URL https://foobar.it Auth authenticated Expires 5/26/2026, 3:16:07 PM Plugins ssh, kubectl`

The session seems to be setup by defayult 1 hour, and after the expiration all the ssh connection alive will be closed. Is there a way to setup a session expiration greater than 1 hour (eg: 24 hours)?

thx

Context

No response

What have you tried?

No response

Code Example

undefined

Related Issues or Documentation

No response

Additional Information

No response

Search

  • I have searched the existing issues and discussions

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

2
RSSsuresh4mo ago

@sandromello, I'm also facing the same issue. How can I extend the session timeout from 1 hour to 8 hours? We use Azure SSO for authentication, and we have also configured Conditional Access for it, but it only validates MFA every 8 hours, while the session expires every 1 hour. Can you share the steps to fix this?

Error: access token is expired, try logging in again

buzzzo3mo ago

Hi, could someone please answer to this ? It's an issue shared by many people .