SFTP login problem on one server.

jeroman8

Well-Known Member
Mar 14, 2003
410
0
166
Hi!

I can't connect to one server via sFTP.
Same setup as I know it on other servers and there it's fine.
I can login without issues via SSH, on standard port (22).
But I can't login via sFTP - can't connect it say.

Same port, tested everything in my sftp program, correct pass used.
Since I can't even connect it's like port is closed, but it ain't.
So maybe then that the subsystem sftp is not running - not active or
something, if it's possible ...

Any ideas ?

Same sshd conf settings as on other servers what I can see
and the line

Subsystem sftp /usr/libexec/openssh/sftp-server

is there.
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
you have to give the shell permission for which domain you wish to login sFTP

then you may able to login

cheeers!!!!

Nilesh
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
you have to give the shell permission for which domain you wish to login sFTP

then you may able to login

cheeers!!!!

Nilesh
Login to a customers account that does not have shell/jailed, visit the FTP accounts > Configure FTP account and check the list of "Manual Settings" there. You should see SFTP port listed.

New Feature.


I log in with root, not as a user.
There is nothing in logs.

Try logging in with the account username and your root password. Does that work for you?

Another New Feature I believe.
 

jeroman8

Well-Known Member
Mar 14, 2003
410
0
166
Hi!

thanks for trying to help.

It is not working.
Not as root, not as a user with shell activated.

I use sftp 50% of the time to check logs, system, upload files etc - as ROOT.
I use this instead of using SSH all the time.
I think it's easier and get a better overview of files/folders etc and I can
access everything on the server (/tmp, /etc, /usr, /home ...).
So it's not login to users accounts/folders that is the main reason for using it.

sftp login as root on a server always worked before without any issues or fix
and it is working on all of our other servers.
This server where it is not working also takes forever to login via SSH.
Well, not forever but it does take 10x times longer than any other server.

Regards Jero