Nickelodian
Cadet
- Joined
- Jul 18, 2017
- Messages
- 5
Hi,
I have been reading and trying the guide to setup a sftp server https://forums.freenas.org/index.php?resources/how-to-set-up-proftpd-as-a-secure-sftp-server.10/ . A really good guide, however I am unable to login
I want to use password in a first but it fails, "Permission denied (password)"
My user files:
ftp.users:
test:$1$SEc37bdP$ZImyCNN9.VE2n1up9qYvZ0:1001:1000::/mnt/media/:/sbin/nologin
ftp.groups:
media:*:1000:media
My proftpd.conf is exactly the same as in the guide (I tried to remove publickey option in auth methods after it failed the first times)
sftp.log:
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server hostkey: ssh-rsa
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server encryption: aes128-ctr
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client encryption: aes128-ctr
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server MAC: umac-64@openssh.com
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client MAC: umac-64@openssh.com
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server compression: none
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client compression: none
2017-07-22 11:58:02,136 mod_sftp/0.9.9[11550]: sending acceptable userauth methods: password
2017-07-22 11:58:02,148 mod_sftp/0.9.9[11550]: sending userauth failure; remaining userauth methods: password
2017-07-22 11:58:02,149 mod_sftp/0.9.9[11550]: disconnecting client (received EOF)
Any suggestions or tips?
Thanks in advance
Niklas
I have been reading and trying the guide to setup a sftp server https://forums.freenas.org/index.php?resources/how-to-set-up-proftpd-as-a-secure-sftp-server.10/ . A really good guide, however I am unable to login
I want to use password in a first but it fails, "Permission denied (password)"
My user files:
ftp.users:
test:$1$SEc37bdP$ZImyCNN9.VE2n1up9qYvZ0:1001:1000::/mnt/media/:/sbin/nologin
ftp.groups:
media:*:1000:media
My proftpd.conf is exactly the same as in the guide (I tried to remove publickey option in auth methods after it failed the first times)
sftp.log:
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server hostkey: ssh-rsa
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server encryption: aes128-ctr
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client encryption: aes128-ctr
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server MAC: umac-64@openssh.com
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client MAC: umac-64@openssh.com
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session client-to-server compression: none
2017-07-22 11:58:01,873 mod_sftp/0.9.9[11550]: + Session server-to-client compression: none
2017-07-22 11:58:02,136 mod_sftp/0.9.9[11550]: sending acceptable userauth methods: password
2017-07-22 11:58:02,148 mod_sftp/0.9.9[11550]: sending userauth failure; remaining userauth methods: password
2017-07-22 11:58:02,149 mod_sftp/0.9.9[11550]: disconnecting client (received EOF)
Any suggestions or tips?
Thanks in advance
Niklas