Maemo: Better reporting of SSH timeouts, additional unmount step.

This commit is contained in:
Christian Kandeler
2010-08-17 10:47:36 +02:00
parent 2c5e3f1f69
commit 90dea9d645
7 changed files with 57 additions and 30 deletions

View File

@@ -406,6 +406,7 @@ void SshConnectionPrivate::handleUserAuthSuccessPacket()
void SshConnectionPrivate::handleUserAuthFailurePacket()
{
m_timeoutTimer.stop();
const QString errorMsg = m_connParams.authType == SshConnectionParameters::AuthByPwd
? tr("Server rejected password.") : tr("Server rejected key.");
throw SshClientException(SshAuthenticationError, errorMsg);