From the computer of: mcdsco
(5 recipes)
Created: Nov 20, 2006
To create and distribute the SSH key, follow these steps:
(if it doesn't exist make it off of LDAP's home directory which according to the document is /var/Sun/mps)
and accept all defaults. This will create two files in the ~/.ssh directory: id_rsa and id_rsa.pub. id_rsa.pub is a text file with the shared key in it.
then highlight all of the text and copy it to the clipboard.
Hit "i" to put in insert mode then paste the key into the file. Press ESC and type :wq
(this should be one contiguous line, I put line breaks to fit within the document)
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAmhhdjseAbeHL2gHtPH3MAiD
k+3Gmcw+0SOozqVFqydhk8xDMh/l9h53QhbkkRsarxEoHZCZ3bc9qISZPJib
9q7uvSRXdgVRM6sMQRWzCqMRwJMz90QL/AejhAiaALGP+aQnp8A2UAzn3
aU9X2YPT+9Y/yKxK45dPR9qJ0YLwFzQr5ltldCYw707yTd/3r8LiBlPh7Q1Pla
XV6ospU9thrAZxhT7EJOQ+Pbrw0AaEXeRNPATzcevF7JWuRANj2DMMP7uQ
swxSkolyLregDCPIP7vVwP2bbktrtg37tdyC1dBrAup2R0hpB+HOlOmHGUyM
q+qzyCp5vujB4V/nyvq9Yw== scott@localhost.localdomain
Now do the same thing again, but in reverse server order ... you are going from ldapserver2 to ldapserver1 and entering the RSA public key into ldapserver1's ~/.ssh/authorized_key.
If this doesn't work where you can ssh to and fro on ldapserver1 and ldapserver2, don't dispair, you will have to make alterations to your /etc/sshd_config file which is unfortunately beyond the scope of this document.
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
To log all Telnet , FTP Connections to a Solaris Machine
Change the Solaris telnet banner
Adding BANNER information in Solaris ......
Configuring C-2 Level Security in Solaris
RBAC: Solaris Role Based Access Control basics
Prevent Solaris users from changing file ownership (chown)
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
Make XP look like Windows Vista / Longhorn for free!
Hacks to Beat Rapidshare Download Limits and Waiting Time
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
How Do I Use or Open Bin, Cue, or ISO Files?
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
How to patch up your UXtheme.dll file in XP home or pro
MySpace: Hack to Download Any Song on MySpace
MySpace Hack: View Pictures and Comments on a Private Profile
Who's Online
There are currently, 2202 guest(s) and 1 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.57 Seconds
Sat May 17 5:52:18 2008