Why Nostr? What is Njump?
2024-06-11 00:58:13

Freedom Tech πŸ—½πŸ‡ΊπŸ‡² on Nostr: ...



1. Install ssh

```shell
sudo apt install ssh

```
2. Add these lines to the /etc/ssh/sshd_config file: (NOT ssh_config)

```
Match group sftp
ChrootDirectory /home
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
```

CAUTION: Set ChrootDirectory to "/ " if you want to access the /media folder for external mounted mediain adition to /home, but this exposes you entire system.

3. Create an sftp user's group. I use "Users and Groups" for this. The program name is users-admin and you get that by installing `gnome-system-tools`

4. Add your user to the sftp user group. Once again, I use "Users and Groups"

5. Get the IP address for computer running SFTP server. You can get this with "ifconfig" or "ip addr" commands.

6. Connect using IP address as hostname, and login with the username/password of account you added to the sftp user group.

Use "sftp://xxx.xxx.xxx.xxx" in the "Files" app to connect, where x's are IP address.

πŸ‘‰ [Web-page](https://linuxconfig.org/how-to-setup-sftp-server-on-ubuntu-20-04-focal-fossa-linux) πŸ‘ˆ with more info.

[⚑️ Follow Freedom Tech](http://primal.net/p/npub1fkluklzamwpyn7w8awxzrcqe7z8mldlvthk4gz9kz3vsh6udz62s9qj48l)

#SFTP #FreedomTech #Linux
#SFTP_Secure_File_Transfer
#SSH_Install #SSH #OpenSourceFreedomSoftware
Author Public Key
npub1fkluklzamwpyn7w8awxzrcqe7z8mldlvthk4gz9kz3vsh6udz62s9qj48l