]> jfr.im git - irc/freenode/web-7.0.git/blob - content/kb/sasl/irssi.md
Add a note about certificate expiry in certfp kb (#465)
[irc/freenode/web-7.0.git] / content / kb / sasl / irssi.md
1 Title: Configuring SASL for Irssi
2 ---
3 The setup for SASL on Irssi differs depending on the version you have (you can
4 find out by running `irssi -v` in your nearest shell).
5
6
7 # Irssi 0.8.18 or later
8
9 Recent Irssi versions include built-in SASL support via `/network`:
10
11 /network add -sasl_username <login> -sasl_password <password> -sasl_mechanism PLAIN freenode
12 /server add -auto -net freenode -ssl -ssl_verify chat.freenode.net 6697
13 /save
14
15 ## Troubleshooting
16
17 To check that the setting was correct, run `/network` and confirm that the freenode entry looks like this:
18
19 freenode: sasl_mechanism: plain, sasl_username: gryllida, sasl_password: (pass)
20
21 All three items (mechanism, username, and password) must be set.
22
23 # Older versions
24
25 These versions need a separate script in order to support SASL: `cap_sasl.pl`.
26 You can install it from <https://scripts.irssi.org>:
27
28 mkdir -p ~/.irssi/scripts/autorun
29 wget https://scripts.irssi.org/scripts/cap_sasl.pl -O ~/.irssi/scripts/cap_sasl.pl
30 ln -sf ../cap_sasl.pl ~/.irssi/scripts/autorun/
31
32 Now load and configure it inside Irssi:
33
34 /script load cap_sasl
35 /network add freenode
36 /server add -auto -net freenode -ssl -ssl_verify chat.freenode.net 6697
37 /sasl set freenode <login> <password> PLAIN
38 /sasl save
39 /save