IRC Bouncer 连接时不需要 /quote 密码吗?

IRC Bouncer 连接时不需要 /quote 密码吗?

我正在使用 bouncer (ZNC) 连接到 IRC 网络。我正在使用 ChatZilla 连接到 bouncer。

连接时我收到以下消息:

You need to send your password. Try /quote PASS <username>:<password>

有没有办法可以设置我的连接以避免每次手动输入用户名和密码?遗憾的是,IRC 客户端不提供服务器密码字段。

答案1

您必须在本地 IRC 客户端的服务器配置中设置用户名和密码。

例如,我使用 weechat。Weechat 使用一个名为 irc.conf 的文件。

[server]
name_of_the_server_in_weechat.addresses = "example.com/4444"
name_of_the_server_in_weechat.proxy
name_of_the_server_in_weechat.ipv6
name_of_the_server_in_weechat.ssl = on
name_of_the_server_in_weechat.ssl_cert
name_of_the_server_in_weechat.ssl_priorities
name_of_the_server_in_weechat.ssl_dhkey_size
name_of_the_server_in_weechat.ssl_fingerprint
name_of_the_server_in_weechat.ssl_verify = off
name_of_the_server_in_weechat.password = "the_password_i_pass_with_QUOTE"
name_of_the_server_in_weechat.capabilities
name_of_the_server_in_weechat.sasl_mechanism
name_of_the_server_in_weechat.sasl_username
name_of_the_server_in_weechat.sasl_password
name_of_the_server_in_weechat.sasl_key
name_of_the_server_in_weechat.sasl_timeout
name_of_the_server_in_weechat.sasl_fail
name_of_the_server_in_weechat.autoconnect = on
name_of_the_server_in_weechat.autoreconnect
name_of_the_server_in_weechat.autoreconnect_delay
name_of_the_server_in_weechat.nicks
name_of_the_server_in_weechat.username = "the_username_i_pass_with_QUOTE"
name_of_the_server_in_weechat.realname
name_of_the_server_in_weechat.local_hostname
name_of_the_server_in_weechat.command
name_of_the_server_in_weechat.command_delay
name_of_the_server_in_weechat.autojoin
name_of_the_server_in_weechat.autorejoin
name_of_the_server_in_weechat.autorejoin_delay
name_of_the_server_in_weechat.connection_timeout
name_of_the_server_in_weechat.anti_flood_prio_high
name_of_the_server_in_weechat.anti_flood_prio_low
name_of_the_server_in_weechat.away_check
name_of_the_server_in_weechat.away_check_max_nicks
name_of_the_server_in_weechat.default_msg_kick
name_of_the_server_in_weechat.default_msg_part
name_of_the_server_in_weechat.default_msg_quit
name_of_the_server_in_weechat.notify

答案2

经过一番搜索,我自己找到了答案。有一个命令 /name,它允许您预先设置用户名,而不是在任何设置中以及 IRC 服务器的名称和密码。

因此,你需要做的就是,在启动 IRC 客户端时,

/name 你的用户名 /server server.com 1234 你的密码

在 Chatzilla 中,这将进入以下部分:全局设置 - 列表 - 启动 Chatzilla 时要运行的命令。

例如,无法通过位置设置等单个命令连接到 ZNC。

相关内容