Ejabberd: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
  Server providing xmpp
  Server providing xmpp
=create users=
=create users=
  ejabberdctl register username halfface.se 'password'
  ejabberdctl register username www.halfface.se 'password'
=List users=
=List users=
  ejabberdctl registered_users halfface.se
  ejabberdctl registered_users www.halfface.se
=remove user=
=remove user=
  ejabberdctl unregister andreas halfface.se
  ejabberdctl unregister andreas www.halfface.se
=list connected users=
=list connected users=
  ejabberdctl connected_users
  ejabberdctl connected_users

Latest revision as of 17:09, 23 December 2019

ejabberd

Server providing xmpp

create users

ejabberdctl register username www.halfface.se 'password'

List users

ejabberdctl registered_users www.halfface.se

remove user

ejabberdctl unregister andreas www.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