# Deploying chatmail on hardened server

**URL:** <https://forum.delta.chat/t/deploying-chatmail-on-hardened-server/3319>\
**Category:** Chatmail Relays\
**Created:** [November 12, 2024, 11:18pm UTC](https://forum.delta.chat/t/deploying-chatmail-on-hardened-server/3319 "2024-11-12T23:18:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dakloifarwa](https://forum.delta.chat/user_avatar/forum.delta.chat/dakloifarwa/32/2334_2.png) [@dakloifarwa](https://forum.delta.chat/u/dakloifarwa)\
**Post date:** [November 12, 2024, 11:18pm UTC](https://forum.delta.chat/t/deploying-chatmail-on-hardened-server/3319/1 "2024-11-12T23:18:00Z")

</div>

## Expected behavior

Hi, I have an hardened server with e.g. a different SSH port number and no root access via SSH. At the moment in the chatmail deploy tool I can only use ssh port 22 and authenticate as root user. I’d appreciate it to be able to deploy and run chatmail via localhost resp. directly “from inside” the server. A different way would be to add the ssh port number and use sudo for the remote ssh user.  
What do you think?

## Actual behavior

Maybe that feature is already available and I haven’t seen it yet?

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [November 13, 2024, 3:13am UTC](https://forum.delta.chat/t/deploying-chatmail-on-hardened-server/3319/2 "2024-11-13T03:13:57Z")

</div>

For alternative port, you can specify it in `.ssh/config` in the host settings.  
Deploying using sudo instead of SSH to root is not supported currently.

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:20pm UTC](https://forum.delta.chat/t/deploying-chatmail-on-hardened-server/3319/3 "2026-10-06T15:20:34Z")

</div>


