man(1)
π NAME π
/connect β the iconic Profanity slash command that gets you into the chat, bestie. This is the man(1) page for it, so yeah, we're doing this properly. β¨
πΈ DESCRIPTION πΈ
Okay so listen. /connect logs you in to a chat service. That's the whole vibe. π«Ά
If you don't specify an account, the default gets used β but only if one is actually configured, so like, don't come for me if nothing happens. π
A local account gets created, using the JID as its name, if it doesn't already exist. Boom, new account, no cap. π
And if you're feeling spicy and wanna connect to a server via SASL ANONYMOUS (c.f. XEP-0175), you can absolutely do that too. No name, no trace, main character energy. π
β¨ SYNOPSIS β¨
/connect [<account>]
/connect <account> [server <server>] [port <port>] [tls force|allow|trust|direct|disable|legacy] [auth default|legacy]
/connect <server>
π ARGUMENTS π
<account>β the local account you wanna connect with. Or, if it's your first time connecting, just drop a JID in there instead. Either way bestie. π¦server <server>β give it a server if the one you want is different from the domain part of your JID. Sometimes it just is, okay?port <port>β the port to use, if it's different from the default. Which is5222, or5223when you're doing SSL. π₯<server>β connect to said server in an anonymous way.
β οΈ Be aware, babe: there aren't many servers that support this. Fr fr, like barely any.
tls forceβ force a TLS connection, and fail if one cannot be established. This is the default behaviour, so it's already happening. Slay. β¨tls allowβ use TLS for the connection if it's available. Polite. Chill. She's flexible. πtls trustβ force TLS connection and trust the server's certificate. Full trust fall. π€tls directβ use direct TLS for the connection. Meaning the TLS handshake gets started right after the TCP connection is established. Immediate. No small talk. π€tls disableβ disable TLS for the connection. (Doing a little gasp rn. π)tls legacyβ an alternative keyword fordirect, created back when people still thoughtSTARTTLSwas the future. It's giving vintage. It's giving a moment in time. πauth defaultβ the default authentication process. Nothing to see here, iconic as usual. πauth legacyβ allow legacy authentication. Old school, but make it work. π§
π EXAMPLES π
The classics, for your viewing pleasure:
/connect
/connect odin@valhalla.edda
/connect odin@valhalla.edda server talk.google.com
/connect freyr@vanaheimr.edda port 5678
/connect me@localhost.test.org server 127.0.0.1 tls disable
/connect me@chatty server chatty.com port 5443
/connect server.supporting.sasl.anonymous.example
And that's the whole thing, bestie. This page is from Profanity XMPP client version 0.18.2, dated 2026-06-08 β so like, remember when you read this. Periodt. π
β¨π
π¦ where this page comes from
- ubuntu stonking: profanity 0.18.2-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu stonking: profanity-light 0.18.2-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms