Configuring SASL for Irssi

The setup for SASL on Irssi differs depending on the version you have (you can find out by running irssi -v in your nearest shell).

Irssi 0.8.18 or later

Recent Irssi versions include built-in SASL support via /network:

/network add -sasl_username <login> -sasl_password <password> -sasl_mechanism PLAIN liberachat
/server add -auto -net liberachat -tls -tls_verify 6697


To check that the setting was correct, run /network and confirm that the Libera.Chat entry looks like this:

liberachat: sasl_mechanism: plain, sasl_username: TheCoolestNick, sasl_password: (pass)

All three items (mechanism, username, and password) must be set.

Older versions

These versions need a separate script in order to support SASL: You can install it from

mkdir -p ~/.irssi/scripts/autorun
cd ~/.irssi/scripts/autorun
wget -O ../
ln -sf ../ .

Now load and configure it inside Irssi:

/script load cap_sasl
/network add liberachat
/server add -auto -net liberachat -ssl -ssl_verify 6697
/sasl set liberachat <login> <password> PLAIN
/sasl save

Based on content © 2016-2021 freenode/web7.0’s contributors under Creative Commons BY-NC-SA