Skip to main content
All Posts By


Ubuntu : Change default SSH Port

By Server Admin No Comments

Changing the port in “/etc/ssh/sshd_config” no longer works.

The port can be changed in ‘/lib/systemd/system/ssh.socket’ but that won’t survive SSHD update.

Follow these steps:

mkdir /lib/systemd/system/ssh.socket.d

nano /lib/systemd/system/ssh.socket.d/port.conf

systemctl daemon-reload
systemctl restart ssh
systemctl restart sshd

Verify: netstat -luntp | grep 2222

Change Plex user to fix permission issues.

By Personal No Comments

By default plex run as user “plex”, If plex user doesn’t have proper permissions for media directory Plex and / or some channels like “Sub-Zero Subtitles” may not work properly.



To change the user for Plex with Systemd ( Ubuntu , Centos , Arch linux etc.) follow below steps.


  • service plexmediaserver stop
  • chown -R myuser:myuser /var/lib/plexmediaserver
  • Edit:  /usr/lib/systemd/system/plexmediaserver.service
  • Change

User = YourUSer

Group = YourUser

  • systemctl daemon-reload
  • service plexmediaserver stop