05-18-2021, 09:32 AM
If I recall correctly, postmarketOS creates an additional user if you choose to enable SSH at install time. That user does not have write permission to /home/user (default user's home directory).
If you want to mount /home/user on your PC, you have to login as "user".
Regarding the security, disabling password authentication is enough for most cases.
Run this on your PC:
Then edit /etc/ssh/sshd_config on your phone and restart ssh.service
https://wiki.mobian-project.org/doku.php...f-password
If you want to mount /home/user on your PC, you have to login as "user".
Code:
sshfs user@ip:/home/user /tmp/mnt
Regarding the security, disabling password authentication is enough for most cases.
Run this on your PC:
Code:
ssh-keygen && ssh-copy-id user@ip
https://wiki.mobian-project.org/doku.php...f-password