- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: why I use telnet to loggin with root account s...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 12:03 AM
08-01-2011 12:03 AM
why I use telnet to loggin with root account successful ,but using SSH cannot loggin
why I can use telnet to loggin server with root account successful ,
but using SSH which cannot loggin ,the message shows access denied
it is different password between telnet and ssh
can any one tell me why
thanks
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 12:38 AM
08-01-2011 12:38 AM
Re: why I use telnet to loggin with root account successful ,but using SSH cannot loggin
Hi,
# vi /opt/ssh/etc/shd_config
Check AllowUsers keyword in above file
This keyword can be followed by a list of user name patterns,
separated by spaces. If specified, login is allowed only for
user names that match one of the patterns. `*' and `?' can be
used as wildcards in the patterns. Only user names are valid; a
numerical user ID is not recognized. By default, login is
allowed for all users. If the pattern takes the form USER@HOST
then USER and HOST are separately checked, restricting logins to
particular users from particular hosts.
Restart the service with below command
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
you need edit /etc/rc.config.d/sshd and set SSHD_START=1
Was this post useful? - You may click the KUDOS! star to say thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 02:03 AM
08-01-2011 02:03 AM
Re: why I use telnet to loggin with root account successful ,but using SSH cannot loggin
Hi:
File: /etc/opt/ssh/sshd_config
Verify also option "PermitRootLogin": Specifies whether a privileged user can log in using ssh(1). The default is ``yes''.
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 03:48 AM
08-01-2011 03:48 AM
Re: why I use telnet to loggin with root account successful ,but using SSH cannot loggin
@rarisan >... The default is ``yes''.
No, default is "no", meaning that the line starting with "PermitRootLogin" cannot be found the default behavoir is not to permit root login over ssh.
So you must specify:
PermitRootLogin yes
Horia.