- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enable Root login using ssh
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
тАО08-27-2006 08:34 PM
тАО08-27-2006 08:34 PM
Enable Root login using ssh
I have checked the status for the PERMIT ROOT LOGIN variable in sshd_config file it is set to YES then to i am not able to login using root account i tried to restart the ssh service but then to the root login is not working while i can login using other account and can do su to root user ...
Please Help ..
Thanks & REgards
Hemant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 08:41 PM
тАО08-27-2006 08:41 PM
Re: Enable Root login using ssh
e.g.
$ ssh -v root@somehost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 11:17 PM
тАО08-27-2006 11:17 PM
Re: Enable Root login using ssh
Also check this thread out, might be able to give you a couple of hints of what is going on!
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1001507
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 11:32 PM
тАО08-27-2006 11:32 PM
Re: Enable Root login using ssh
If '/etc/securetty' exists, the devices listed in it are the only ones which will accept a root login. A common way to increase security of your system is to only allow root login from the console. This is accomplished by echoing 'console' to '/etc/securetty'.
If this is the case for your environment, and you are alright with the security ramifications of allowing root to login from any terminal, comment out ('#') 'console' from '/etc/securetty', or delete the file (if it contains no other entries).
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 11:58 PM
тАО08-27-2006 11:58 PM
Re: Enable Root login using ssh
Spex, your comment is not accurate as it relates to ssh. The /etc/securetty only affects telnet and rlogin. ssh allows root access if so configured in sshd_config and ssh_config regardless of the contents of /etc/securetty.
As for the issue at hand: you should probably
grep -i permitrootlogin sshd_config
to ensure the parameter isn't reset somewhere else. Also check in ssh_config and ~/.ssh/config to see if anything is set in those files that might be causing it.
Failing those, as previously suggested, post the results of ssh -vvv ${target} so we can see the login process and provide some additional help.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 12:09 AM
тАО08-28-2006 12:09 AM
Re: Enable Root login using ssh
and install 'sudo' or something similar.
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 01:10 AM
тАО08-28-2006 01:10 AM
Re: Enable Root login using ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2006 08:18 PM
тАО08-29-2006 08:18 PM
Re: Enable Root login using ssh
Thanks to all of you for the help, but according to RALPH i have tried the command
$ssh -v root@somehost
from another machine as well as from the same machine it is working fine .
But it doesnot allow me to login by root user when using PUTTY (a ssh utility),Please help ..
Thanks & Regards
Hemant