-
Notifications
You must be signed in to change notification settings - Fork 845
Open
Description
Good day!
Could you help me? When I run sftp, I see the folder /home/user1, but I only want to see the files and folders of my current user.
my docker-compose.yml :
services:
sftp:
image: atmoz/sftp:debian
container_name: sftp-server
restart: unless-stopped
ports:
- "${PORT_EXTERNAL}:22" # SFTP порт
volumes:
- ./config/users.conf:/etc/sftp/users.conf:ro
- ./ssl/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key:ro
- ./${FTP_PATH1}:/home/user1
- ./${FTP_PATH2}:/home/user2
user.conf:
user1::1001:1001:/home/user1
user2::1002:1002:/home/user1
Metadata
Metadata
Assignees
Labels
No labels