acess denied(i have read the FAQ, PermitRootLogin enabled)

Advertisement

Massimo
Guest

acess denied(i have read the FAQ, PermitRootLogin enabled)

Hi, I'm using Winscp but i can't connect to my sftp server from remote (using an administrator login). I'm using a ssh tunnel and a http proxy for the connection.
SSH server for tunnelling and stfp server (by openssh)are running on the same pc with Winxp.
The ssh tunnel is working but I have access denied when Winscp tryies to enter in the server.
I have read the faq and:
the password is correct (from my lan i can access)
PermitRootLogin yes
port 22 is correctly forwarded
Could you help me?
Thanks a lot.
Massimo

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: acess denied(i have read the FAQ, PermitRootLogin enable

Just to be sure, have you read this page?
To which of the two servers do you connect with root? Have you restarted the server since setting PermitRootLogin to yes?

Reply with quote

Massimo
Guest

Thanks for your answer. Yes, I've read that page.
The host name, user name and password for the session and tunnel window in winscp are the same and the user is administrator for both.
SSH server for tunnelling and sftp server are running on the same pc with Winxp.
I have found PermitRootLogin set to yes as default setting.
What could it be?

Reply with quote

martin
Site Admin
martin avatar

Well I'm not sure how PermitRootLogin works on Windows, if at all. Are you sure you have added the Administrator account into passwd file?

Reply with quote

Massimo
Guest

Hi Prikryl,
I have fixed the problem.
As I told you before, SSH server and SFTP server are on the same machine (mypc.dyndns.org). My mistake was to put mypc.dyndns.org as host in tunnel and session window. If i put localhost as host in session window everything works good.
Anyway thanks for your interest in my troubles.
Massimo

Reply with quote

Advertisement

You can post new topics in this forum