Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: confiarus on April 25, 2008, 12:02:11 PM
-
Using WinSCP, I'm able to connect via sftp when logging in as "root". However, when
trying to connect as other user, admin or any other user, I get the following message:
Cannot initialize SFTP protocol. Is the host running a SFTP server?
In server-manager, everything is open for local lan access. Does anyone have an idea
as to why "root" user is allowed sftp access, but, other users arent ??
-
Using WinSCP, I'm able to connect via sftp when logging in as "root". However, when
trying to connect as other user, admin or any other user, I get the following message:
Cannot initialize SFTP protocol. Is the host running a SFTP server?
In server-manager, everything is open for local lan access. Does anyone have an idea
as to why "root" user is allowed sftp access, but, other users arent ??
AFAIK only FTP is implemented, no sFTP.
-
confiarus & cactus
AFAIK only FTP is implemented, no sFTP.
It's the other way around, sftp is implemented, ftp is no longer.
As far as access is concerned you need to enable access for each user.
yum --enablerepo=smecontribs install smeserver-remoteuseraccess
and configure requirements for each user in the new server manager panel.
-
confiarus & cactus
It's the other way around, sftp is implemented, ftp is no longer.
That is strange, as I telnet to port 21 I am welcomed by the ftp daemon, but if I use the sFTP port (125) I get no connection. Are you sure that sFTP is already implemented, I have heard rumours, but based on above I doubt if it is already implemented.
sFTP does work but it is not a replacement of FTP, I still have FTP possibilities on my SME Server 7.3.
-
cactus & confiarus
Apologies, it looks like ftp is still available (I'm sure there was talk of doing away with it), but sftp is available too, but secure shell access needs to be enabled
Read this from the server manager Remote Access panel:
Note: a secure shell sftp client can also be used to access the server, if remote access via the secure shell is enabled. This method of access protects the passwords and data of the FTP session, whereas standard FTP provides no protection.
-
RayMitchell
I ran the commands you sent and was able to give sftp access to other users. Also, ftp works as well
fyi. Thanks a bunch !!!!