LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2008, 04:21 AM   #1
skiitd
LQ Newbie
 
Registered: Oct 2008
Distribution: RHEL-4
Posts: 6

Rep: Reputation: 0
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
 
Old 10-06-2008, 07:04 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

Rep: Reputation: 30
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.
 
Old 10-07-2008, 04:39 AM   #3
skiitd
LQ Newbie
 
Registered: Oct 2008
Distribution: RHEL-4
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid "access.log" access denied no user name jatender Linux - Server 1 10-02-2007 05:28 AM
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 03:36 PM
How to :: Securing SSH: protocol SSH2 and hiding the direct access of root sysconfig Red Hat 3 09-07-2006 09:30 AM
Suse 10.1, Access denied while trying to access a partition Rollotamasi Linux - Newbie 1 06-23-2006 05:59 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 03:30 AM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration