— Tech — 4 min read
cloud.
is a good pattern.A 192.222.162.212 cloud.your.domain
[email protected]
Permission denied(publickey,password)
error.ChallengeResponseAuthentication
and PasswordAuthentication
. Be sure to turn these back off once server SSH setup is done.~/.ssh/authorized_keys
file on the server: guidePasswordAuthentication
in server SSH config (likely in /etc/ssh/sshd_config
).my.domain.com
as the reverse.In testing of Nextcloud (Mail, Contacts, Calendar), SOGo (Mail, Contacts, Calendar), and Rainloop (Mail), SOGo seems to have the best balance of full features (Mail, Contacts, Calendar), robust DAV connectivity integration, and UI (Material Design).
SOGo install and configuration is easy with Cloudron. Install the app and it comes automatically configured. Cloudron docs and SOGo app have URLs to assist in setup of mobile and desktop CardDAV and CalDAV clients.
First, do not use the default "Personal" contacts address book or calendar as your SOGO import target. These can not be deleted so if you mess up the import, you'll need to reinstall the SOGO instance in order to clear the address book / calendar. Very annoying.
Start with creating additional address book / calendars that you can import into without risk of not being able to wipe it.
To migrate from Contacts, download the export vCard VCF file and upload to SOGO in the newly created non-Personal address book.
To migrate from calendar, download the ICS files for all calendars in your Google account. Now open in Sublime Text, VS Code or your text editor of choice. Search for your Gmail email address and replace with your new SOGO one.
Note that you should check a couple variations of your Gmail address because ICS files do manual linewraps. Example below.
1// Original2ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=johnd3 [email protected];X-NUM-GUESTS=0:mailto:johndoegmail.com4
5// Replaced6ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;[email protected]7 oe.xyz;X-NUM-GUESTS=0:mailto:[email protected]
Import into your non-Personal calendar in SOGO and you're done!
Adding additional TXT and SRV records to DNS can make configuring DAV clients (Contacts, Calendar, WebDAV file browsing) easier.
.well-known/*
paths like DAVAfter installing in Cloudron, the first time you launch it you can login as admin using basic credentials that Cloudron initialized.
1import secrets2secrets.token_urlsafe(30)
As an alternative to SOGo, Nextcloud can be used by installing their Mail, Contacts, and Calendar apps. They are much less full featured and aspects (clicking on certain icons/functionality, importing contacts) seemed buggy even in initial testing.
https://nextcloud.domain/remote.php/dav/
. In testing, iOS with this URL works automatically without any further custom settings.snap install nextcloud --edge
. We're install edge to get the latest Nextcloud version (18) since Snap stable is still on 16.X.snap set nextcloud php.memory-limit=512M
nextcloud.enable-https lets-encrypt
onlyoffice-ds
onlyoffice-ds
server https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx