Přejít na menu

Simple SFTP linux server

Správa článků

Vyhledávání Vyhledávání
1.12.2013 16:28
,
Počet přečtení: 633

How to run simple SFTP server on Debian.

Great tutorial: SFTP only chroot users with OpenSSH in Debian [saved]

Troubleshooting

Permissions setting

Important note in the tutorial above: "Folders in the path along the way must be owned by root:root and must not be writable by anyone but root."

So 755 mode is the best choice for the user's root folder and all its parents above.

Debugging

Client: sftp -v username@host (parameter v activates the verbose mode)

Server - users login history: /var/log/authlog

Vytvořil 1. prosince 2013 v 16:29:46 mira. Upravováno 5x, naposledy 19. září 2014 ve 23:47:37, mira


Diskuze ke článku

Vložení nového komentáře
*
*
*