LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh2 warns access denied! (https://www.linuxquestions.org/questions/linux-newbie-8/ssh2-warns-access-denied-674509/)

skiitd 10-06-2008 03:21 AM

ssh2 warns access denied!
 
Hi,
I'm trying to connect to my RHEL4 through a Putty client on my winXP.
When I use ssh2 I get 'Access Denied' warning message after i enter my login name. It's a warning message as I am prompted for the password soon after and I successfully login. But when try ssh1 with the same credentials no such warning is shown.
Can anyone please why this happens?

Thanks,
SK

ZAMO 10-06-2008 06:04 AM

Your ssh is configured with the defaults options using /etc/ssh/sshd_config.

Code:

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::


You can uncomment the "Protocol 2,1" line , and make a restart of sshd service, to work on both protocols.


Anyway, ssh2 is safer and better than ssh1.

skiitd 10-07-2008 03:39 AM

Thanks Zamo but it didn't work. Actually was already working with both the protocols...ssh1 doesn't warn for anything..but with ssh2 after I enter my user name (darth) it warns saying 'Access Denied' and then also prompts for password entering which I login successfuly.
Here's the console copied:

Using username "darth".
Access denied
darth@10.10.0.92's password:
Last login: Tue Oct 7 13:50:42 2008


Thanks,
SK


All times are GMT -5. The time now is 06:46 PM.