- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH authorized_keys file
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
тАО10-30-2003 01:50 AM
тАО10-30-2003 01:50 AM
SSH authorized_keys file
Thanks,
Rt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 02:24 AM
тАО10-30-2003 02:24 AM
Re: SSH authorized_keys file
If its corrupt, erase it and it will be rebuilt correctly as you do ssh connections to other systems.
The word doc I'm attaching briefly discusses a proceess that builds them.
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
тАО10-30-2003 02:29 AM
тАО10-30-2003 02:29 AM
Re: SSH authorized_keys file
The user must put their public key in this authorization file. Only add the
public key of other user accounts that you want to be able to access your
account. Typically you are only adding your own public key from another
system. A user could copy the file over and rename, but be careful as this
file may contain multiple public keys, in which case you would want to
append to the file.
In HP-SSH the default name for the authorized_keys file can be found in the
sshd_config file:
#AuthorizedKeysFile .ssh/authorized_keys
In some implementations the name authorized_keys2 is used for the SSH-2
protocol." (from Chris Wong's ssh explained)
I'd attach the whole pdf but it goes for 2Mb.
Pick one here : http://www.newfdawg.com/docs/HP-SSH_Explained.PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 02:49 AM
тАО10-30-2003 02:49 AM
Re: SSH authorized_keys file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 04:54 AM
тАО10-30-2003 04:54 AM
Re: SSH authorized_keys file
The doc you pointed to, while confusing and hard to read, does discribe a method of building an authorized_keys file, but not exactly what I am looking for.
Zeev: The newfldawg pdf doc you pointed to does contain some interesting view graphs. Thanks.
To clarify, what I am looking for is: the syntax of the optional authorization entries for a key, such as allowing port-forwarding, restricting to a specific host, subnet,domain, etc. The above mentioned Def. Guide is confusing me as to the syntax for HP's version of the file.
Rt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 04:59 AM
тАО10-30-2003 04:59 AM
Re: SSH authorized_keys file
In actuality, the document I provided was much more relavent.
Rebuild your known_hosts public key files according to Chris Vail's doc. I don't use xwindows any more, I just use the cat command, but that will rebuild the file for you.
You have to have the known_hosts built up to get useful public keys in authorized_keys
Once authorized_keys is messed up there is no point in trying to edit or recovery, just do it over.
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
тАО10-30-2003 10:43 AM
тАО10-30-2003 10:43 AM
Re: SSH authorized_keys file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 10:53 AM
тАО10-30-2003 10:53 AM
Re: SSH authorized_keys file
Take a look at the man page for sshd_config:
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5&arch=&apropos=0&manpath=OpenBSD+Current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2003 02:31 PM
тАО10-30-2003 02:31 PM
Re: SSH authorized_keys file
Refer to the foll. links for info.
http://www.lbl.gov/ITSD/CIS/faqs/SOFTWARE_Data_Communications/2.html
http://newfdawg.com/SHP-SSHpart4.htm
http://www.trustix.org/pipermail/tsl-discuss/2001-October/001398.html
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2003 01:38 AM
тАО10-31-2003 01:38 AM
Re: SSH authorized_keys file
I am trying to do some fine tuning on individual accounts as OReilly's Def. Guide seems to imply can be done for various situations, ie: run single commands, restrict to defined locations, etc.
The last link supplied to newfdawg makes me think I should spend some more time there, as I have not been on there much in a long while.
Thanks again,
Rt.