Skip to content

Instantly share code, notes, and snippets.

@chirag64
Last active June 13, 2021 21:13
Show Gist options
  • Save chirag64/3c80a08a7fc1d2c52ea0 to your computer and use it in GitHub Desktop.
Save chirag64/3c80a08a7fc1d2c52ea0 to your computer and use it in GitHub Desktop.
Irssi configuration
Manually editing the configuration files isn't recommended since its kind of complicated. It is recommended to configure using irssi's commands.
  • Start irssi and connect to a server. Then enter the commands.

  • Auto-connect to a server during startup. Password is server password but can be used as a user password for quick authentication. This method is useful since it authenticates you before irssi tries to connect to the channels, so you are able to join channels where authentication is required. (Password is optional and will be visible in the configuration file in plain text).

/server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network freenode irc.freenode.net 6697 password

If you keep getting SSL errors after starting irssi, try removing SSL certificate verification:

/server add -auto -ssl -network freenode irc.freenode.net 6697 password
  • Add nickname and auto-authenticate during startup. (Password can be seen as plain text in config file).
/network add -nick username freenode

Alternatively, if you wish to authenticate using a password, you can do so using:

/network add -nick username -autosendcmd "/msg nickserv IDENTIFY *******" freenode
  • Auto-connect to channels during startup.
/channel add -auto #archlinux freenode
  • Save configuration
/save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment