Ejabberd: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
=Create ssl config=
=Create ssl config=
  cat /etc/letsencrypt/live/www.halfface.se/privkey.pem /etc/letsencrypt/live/www.halfface.se/fullchain.pem > /etc/ejabberd/ejabberd.pem
  cat /etc/letsencrypt/live/www.halfface.se/privkey.pem /etc/letsencrypt/live/www.halfface.se/fullchain.pem > /etc/ejabberd/ejabberd.pem
=Build cli client=
https://salsa.debian.org/mdosch-guest/go-sendxmpp

Revision as of 15:40, 2 January 2019

ejabberd

Server providing xmpp

create users

ejabberdctl register username halfface.se 'password'

List users

ejabberdctl registered_users halfface.se

remove user

ejabberdctl unregister andreas halfface.se

list connected users

ejabberdctl connected_users

Create ssl config

cat /etc/letsencrypt/live/www.halfface.se/privkey.pem /etc/letsencrypt/live/www.halfface.se/fullchain.pem > /etc/ejabberd/ejabberd.pem

Build cli client

https://salsa.debian.org/mdosch-guest/go-sendxmpp