- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- MSA Storage
- >
- Re: For HP MSA SAN how to deactivate a session cre...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-09-2021 02:27 AM - edited ā02-10-2021 08:48 PM
ā02-09-2021 02:27 AM - edited ā02-10-2021 08:48 PM
From the documents of 1040/2040 or 1050/2050
using below method its possible to create a successfull session
To login to the HTTPS API, the username and password must be joined with an underscore as a separator (username_password) and then sent through a SHA256 hash. The SHA256 hash is represented in lower case hexadecimal format. This string is appended to the login function for the API, https://IP-address/api/login/hash. For example: https://10.0.0.2/api/login/539e12f63b693a9970a97b885e857f8b
How to perform signout operation using API..?
I could not find a logout section in the document, other than the session will be deactivated after 30 minutes of inactivity
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-10-2021 01:36 AM
ā02-10-2021 01:36 AM
Re: For HP MSA SAN how to deactivate a session created after successful login..
Please see this post:
Solved: HPE SAN MSA 2050 API programmatic access - Hewlett Packard Enterprise Community
BR,
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-10-2021 02:14 AM
ā02-10-2021 02:14 AM
Re: For HP MSA SAN how to deactivate a session created after successful login..
There are nothing mentioned regarding Signout operation, its all about how to access API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-10-2021 06:04 AM
ā02-10-2021 06:04 AM
Re: For HP MSA SAN how to deactivate a session created after successful login..
Hi,
Both the commands listed below disconnects SSH session :
logout
exit
While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-10-2021 08:49 PM
ā02-10-2021 08:49 PM
Re: For HP MSA SAN how to deactivate a session created after successful login over HTTP
The ask is over session created using HTTP login method.
Please help over there..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-11-2021 05:30 AM
ā02-11-2021 05:30 AM
Re: For HP MSA SAN how to deactivate a session created after successful login over HTTP
Hi,
I am afraid, I do not have the expertise on API scripting.
Does using logout or exit instead of keyword "login" in below format help?
https://10.0.0.2/api/login/539e12f63b693a9970a97b885e857f8b
While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2021 12:24 AM
ā02-15-2021 12:24 AM
Re: For HP MSA SAN how to deactivate a session created after successful login over HTTP
Hi,
Please let us know whether the information shared in previous post helped.
While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2021 12:28 AM - edited ā02-15-2021 12:29 AM
ā02-15-2021 12:28 AM - edited ā02-15-2021 12:29 AM
Re: For HP MSA SAN how to deactivate a session created after successful login over HTTP
happen to be sucessfull but still the session is active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-15-2021 06:22 AM
ā02-15-2021 06:22 AM
SolutionHi,
Does the session end if you add the session id?
ex: https://10.0.0.2/api/logout/539e12f63b693a9970a97b885e857f8b
https://10.0.0.2/api/exit/539e12f63b693a9970a97b885e857f8b
While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-18-2021 12:14 AM
ā02-18-2021 12:14 AM
Re: For HP MSA SAN how to deactivate a session created after successful login over HTTP
Hi,
Please let us know whether adding session id helped.
While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company