- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- only root cann't ssh to the server
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
Discussions
Forums
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
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
тАО05-17-2004 10:32 AM
тАО05-17-2004 10:32 AM
Here is the result:
ssh systemA -l root
Permission denied, please try again
Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 10:36 AM
тАО05-17-2004 10:36 AM
Re: only root cann't ssh to the server
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 10:51 AM
тАО05-17-2004 10:51 AM
Re: only root cann't ssh to the server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 11:34 AM
тАО05-17-2004 11:34 AM
Re: only root cann't ssh to the server
I've seen this message a few times and thats always what the problem has been.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 12:28 PM
тАО05-17-2004 12:28 PM
Re: only root cann't ssh to the server
a few things to check:
1) did you disable root access via ssh in the /var/adm/inetd.sec ?
2) is the permission of .ssh directory under the home directory of root given?
3) at
# /usr/lbin/getprpw root
check if alock=YES, though that is unlikely as root can telnet
4) what is the permission for /dev/tty?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 01:51 PM
тАО05-17-2004 01:51 PM
SolutionAlso check /etc/ssh/sshd_config and make sure it is set to yes if you want root to work. :) PermitRootLogin = yes
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 01:42 AM
тАО05-19-2004 01:42 AM
Re: only root cann't ssh to the server
#ssh -v -v -v -l root systemA
And try to see the debug information. It will give you a lot more info of what is happening.
Please try to remove the keys from the know_hosts file. And try to connect. The debug information will tell you exactly where openssh is failing. let me know if this works.
regards
Pratyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 02:40 AM
тАО05-19-2004 02:40 AM
Re: only root cann't ssh to the server
As mentioned by Jeff, it's most likely the sshd_config issue.
Look for PermitRootLogin in your /wherever_ssh_is_installed/etc/sshd_config and make it "yes". Restart sshd.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 05:07 AM
тАО05-19-2004 05:07 AM
Re: only root cann't ssh to the server
You solvoed the issue.