shishi_hostkeys_for_server(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 from shishi_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>.


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 🌸🧚⭐