User:Karnlund

From MOD Wiki
Revision as of 07:54, 8 May 2023 by Karnlund (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to enable SFTP so that files can be easily managed using and SFTP client such as Transmit on MacOS.

Mount the filesystem read/write

    mount / -o remount,rw

Edit sshd config

    nano /etc/ssh/sshd_config

Enable SFTP by uncommenting the sftp server

    Subsystem       sftp    /usr/libexec/sftp-server

Mount the filesystem read only

    mount / -o remount,ro