Net::S...y::Base(3pm)

πŸ“¦
version 0.18 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Net::SSH::AuthorizedKey::Base β€” the virtual base class for ssh keys, bestie. It's the blueprint, not the building. πŸ—οΈβœ¨

(You're reading Net::S...y::Base(3pm) btw, in case your pager is being mysterious. πŸ‘€)


✨ SYNOPSIS ✨

# Documentation to understand methods shared
# by all parsers. Not for direct use.
Not gonna lie, this one's a reading page, not a using page. You're here to learn, not to call. πŸ“–

🌸 DESCRIPTION 🌸

Okay so. This is the key parser base class β€” it holds all the methods that every parser has in common, like the shared group chat everyone's in. 🫢

Do NOT use it directly, fr fr. It's giving abstract. Instead, read the docs below so you know what functionality all the parsers offer you. πŸ’…

error()

If a parser fails for literally any reason, it leaves behind a little textual description of the error that threw it off. This method goes and fetches that error text for you. It's the parser's "what went wrong" note. 😭

options()

key()

The actual content of the key, gorl. Either it's a big number (that's the ssh-1 case) or a base64-encoded string (ssh-2, obviously). πŸŽ€

Heads up: options() and key() are listed here together β€” that description under key() is the shared one. Don't skip past it. πŸ™ˆ

type()

The type of a key. Kinda redundant ngl, since you could also just check what subclass a key is of. Either way, it's set to "ssh-1" or "ssh-2". 🌈

email()

Identical to comment(). Same vibes, different name. ✨

comment()

Identical to email() too. πŸ‘― This is the text that follows after the key content in the authorized_keys file. Mostly it's used for emails and host names.


πŸ‘‘ LEGALESE πŸ‘‘

Copyright 2005-2009 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–


πŸ¦‹ AUTHOR πŸ¦‹

2005, Mike Schilli <m@perlmeister.com>


okay that's the whole thing, you ate it up. πŸ“ no cap, you now understand the base class better than half the internet. go read the actual parser docs next, bestie β€” main character energy only. πŸ’œ

Signing off from perl v5.36.0, dated 2022-10-13, page Net::S...y::Base(3pm) β€” mwah. πŸ’…πŸŽ€

πŸ“¦ where this page comes from