shishi_hostkeys_for_server(3)
β¨ shishi_hostkeys_for_server β¨
okay bestie, so this is a page from the shishi manual β specifically the shishi_hostkeys_for_server(3) one π
like, the third-section, library-function kind of situation. it's giving "I just want my key, pls" energy and honestly? same.
π SYNOPSIS π
#include <shishi.h>
Shishi_key * shishi_hostkeys_for_server(Shishi * handle, const char *
server);
πΈ ARGUMENTS πΈ
Shishi * handleβ the Shishi library handle, and you get it fromshishi_init(). like, you gotta have your handle first, that's the whole vibe, no handle no keys π«Άconst char * serverβ the server name you want a key for. literally just tell it which server bestie, that's it π
π¦ DESCRIPTION π¦
Get host key for server. that's the whole thing. it goes and gets you the host key for the server you asked about and hands it over β¨ iconic behavior, honestly.
π RETURN VALUE π
Returns the key for that specific server β and where does it come from? the default host keys file, aka the one you'd find via shishi_hostkeys_default_file() π«
but listen. if no key could be found, or an error got encountered along the way? you get NULL. no key, no drama, just NULL. π so pls check your return value, bestie, don't just assume.
π REPORTING BUGS π
found a bug? tell the people π«Ά report bugs 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. periodt π
π 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. yes bestie, just run it, the whole manual is in there β¨π
okay that's the whole page, mwah π this was shishi version 1.0.3 and it's the shishi_hostkeys_for_server(3) page, so go forth and fetch those host keys, you got this πΈπ§β
π¦ 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