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

Author Message
Massimo

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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?
_________________
Martin Prikryl
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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?
_________________
Martin Prikryl
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License