Topic "changed root pw"

Author Message
rmac
[View user's profile]

Joined: 2006-07-12
Posts: 3
Hi Prikryl,

I have been using your great software for 3 years now without a problem untill I decided to go and change the root password of my server.. now it throws me this error, I have changed the password in winscp of course.. also I can log into ssh when using Webmin online interface for servers. Please see log file: >>>

Looking up host "xxxxxxxxxxxxx.com"
. Connecting to xxx.xxx.xxx.xx port 22
. Server version: SSH-1.99-OpenSSH_3.5p1
. We claim version: SSH-2.0-WinSCP-release-3.7.1
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 61:81:e2:8f:da:fe:4a:15:bf:cf:d9:f9:f4:85:f1:5a
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
. Initialised HMAC-SHA1 client->server MAC algorithm
. Initialised HMAC-SHA1 server->client MAC algorithm
! Using username "root".
. Keyboard-interactive authentication refused
. Session password prompt (root@xxxxxxxxxxxxx.com's password: )
. Using stored password.
. Sent password
. Access granted
* (ESshFatal) Authentication failed.
* Authentication log (see session log for details):
* Using username "root".
*
* Connection has been unexpectedly closed. Server sent command exit status 0.

how do I get it working again? Please help

regards
rmac
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
I'm not sure if I understand the problem. You have changed root password on the server, changed the password to the same in WinSCP session and it does not connect?
_________________
Martin Prikryl
rmac
[View user's profile]

Joined: 2006-07-12
Posts: 3
yes thats correct, Sad

the log says "Access granted" then
* (ESshFatal) Authentication failed

I feel a bit lame but I have been over and over this .. I must be missing something

rmac
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Then you need to check the server's log to see why it closes the connection.
_________________
Martin Prikryl
rmac
[View user's profile]

Joined: 2006-07-12
Posts: 3
Here is the error for log,

Jul 18 09:44:09 localhost sshd[22589]: ROOT LOGIN REFUSED FROM xx.xxx.xx.xxx
Jul 18 09:44:09 localhost sshd[22589]: PAM rejected by account configuration[12]: Authentication token is no longer valid; new one required.
Jul 18 09:44:09 localhost sshd[22589]: Failed password for root from xx.xxx.xx.xxx port 53320 ssh2
Jul 18 09:44:09 localhost sshd[22589]: fatal: monitor_read: unsupported request: 24
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
I would suggest you to check PermitRootLogin in your server configuration.
_________________
Martin Prikryl
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