javitu / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 2 forks source link

sftp user accounts #1163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello all,

I enabled SSH Server on my RT-N56U for using sftp with follwing link
https://code.google.com/p/rt-n56u/wiki/CommonTips#Let_your_FTP_server_be_secure

My Problem is now, that it's only possible to connect with admin user, but i 
want to allocate sftp access to other accounts.

Searching in web I found some articles where it's described that sftp-server is 
an feature of OpenSSH and the config should be located in /etc/ssh/sshd_config
But there is no folder ssh in etc and in the whole root directory i can't find 
sshd_config...

The only interesting file i found was located in usr/libexec/sftp-server

Can any body help please ?

Using actually firmware 3.4.3.7-075

Thanks a lot
André 

Original issue reported on code.google.com by chee...@googlemail.com on 13 Feb 2014 at 9:57

GoogleCodeExporter commented 9 years ago
Look into /etc/storage/openssh/sshd_config
But you won't find any accounts there. It uses system accounts from 
/etc/passwd. There is only one user which is able to login to the system.

Original comment by d...@soulblader.com on 23 Feb 2014 at 7:36

GoogleCodeExporter commented 9 years ago
okay. thank you that's a pity.
however, is it possible to change the user which is able to login ? From admin 
to xy ?

Hope in future it will be possible to create user accounts for sftp, that would 
be very nice.  

Original comment by chee...@googlemail.com on 23 Feb 2014 at 10:37

GoogleCodeExporter commented 9 years ago
I'm not sure it would be possible. sftp purposes are not the same as ftp (ftps) 
and such systems are not developed to operate in multiuser mode.

Original comment by d...@soulblader.com on 23 Feb 2014 at 2:20