- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sshd question
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
Forums
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
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
02-14-2005 07:41 PM
02-14-2005 07:41 PM
I'm trying to connect to my ssh server (3.91.002) on hpux 11.00. I'm trying to use public key authentication but I'm receiving following error: Authentication refused: bad ownership or modes for file authorized_keys. I check this file and have following permissions: 600 root sys. Any ideas?
Aljosa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 07:50 PM
02-14-2005 07:50 PM
Re: sshd question
did you have a look at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=466828
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 07:54 PM
02-14-2005 07:54 PM
Re: sshd question
you may also want to scan through:
http://www.nitech.com/consulting/onlinesupport/unix/hpuxSecureShell.html
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 09:51 PM
02-14-2005 09:51 PM
Re: sshd question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 04:08 PM
02-15-2005 04:08 PM
Re: sshd question
If it's unix/linux, then try using
ssh -v
If you are using cygwin on windows, you can log all information onto a file and trace out the error.
Do atatch these outputs and send it.
Thanks
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 07:38 PM
02-15-2005 07:38 PM
Re: sshd question
at the client side (Windows) I use Putty.
I check and change file and folders permissions at the server site.
Now I'm getting error: server refuses our key and at the server site only error I found is in syslog.log: Failed none for root from ...
Aljosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 08:13 PM
02-15-2005 08:13 PM
Re: sshd question
The other alternative is to set the variable:
StrictModes no
in "/etc/ssh/sshd_config, then restart sshd and retry to see if this is really the problem.
====
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5&arch=&apropos=0&manpath=OpenBSD+Current
StrictModes
Specifies whether sshd should check file modes and ownership of the user's files and home directory before accepting login. This is normally desirable because novices sometimes accidentally leave their directory or files world-writable. The default is ``yes''.
====
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 08:41 PM
02-15-2005 08:41 PM
Re: sshd question
Aljosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 09:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 09:11 PM
02-15-2005 09:11 PM
Re: sshd question
1.Ensure you have correctly appended the correct public key generated from puttygen.exe to the
~/.ssh/authorized_keys
or
~/.ssh/authorized_keys2
2.At the client side (PuTTY), in the connection tab ensure you have provided the user name by which you connect to the server.
3. Check whether server supports public key authentication. ( setting yes to PubkeyAuthentication directive in sshd_config)
4. Try posting detailed server and client debug messages for better analysis.
All the Best.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 09:31 PM
02-15-2005 09:31 PM
Re: sshd question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 09:33 PM
02-15-2005 09:33 PM
Re: sshd question
Aljosa