shishi_hostkeys_for_serverrealm(3)
π shishi_hostkeys_for_serverrealm(3) π
okay bestie, welcome to the shishi manual pages, section 3 (that's the library-functions girlies, iykyk). this one is literally about grabbing a host key for a server in a realm. no cap. let's get into it π«Ά
β¨ NAME β¨
shishi_hostkeys_for_serverrealm β it's an API function, bestie. that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <shishi.h>
Shishi_key * shishi_hostkeys_for_serverrealm(Shishi * handle, const char
* server, const char * realm);
like, you include the header, you call the function, you get a key back. iconic behavior honestly π
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you make it withshishi_init(). it's giving "your main character ticket into the library" πconst char * serverβ the server name you wanna get a key for, periodt.const char * realmβ the realm of the server you're getting a key for. yes both. slay.
π¦ DESCRIPTION π¦
Get host key for server in realm. that's it, that's the function. lowkey simple, highkey useful π
β RETURN VALUE β
Returns the key for specific server and realm β and where does it come from? it's read from the default host keys file (peep shishi_hostkeys_default_file() for that one, bestie π).
and if things go sideways? it returns NULL if no key could be found or an error encountered. so like, always check for NULL, don't be that girl who dereferences it anyway π
π REPORTING BUGS π
found a bug? not me gatekeeping the bug report π send it to <bug-shishi@gnu.org>.
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson. π
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (translation: go off, just keep the receipts, bestie π§)
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. no skimming, it's all there πβ¨
and that's the whole page, bestie!! this lil legend lives in the shishi manual, version 1.0.3, and it's filed under shishi_hostkeys_for_serverrealm(3) β go get those host keys, you ate π
ππ«Ά
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms