Sunday, 11 August 2013

Can't login to sftp server

Can't login to sftp server

I'm trying to set up sftp server with open-ssh to store some files but
when I try to connect it I just get "Connection closed by server with
exitcode 1" in FileZilla. It can't be just wrong username or password
because i've already checked it several times and even changed it. Here
are my sshd_config settings:
Subsystem sftp internal-sftp
UsePAM yes
"Match group sftponly
ChrootDirectory /var/www
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp"

No comments:

Post a Comment