The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Please Help: How to Call SSH Trust from Cron job. suman82 Shell Programming and Scripting 4 12-15-2008 03:43 PM
Configuring WebSphere Process Server with OpenDS Ldap User Repository iBot Solaris BigAdmin RSS 0 10-14-2008 09:20 PM
Dare We Outsource Trust? iBot IT Security RSS 0 05-30-2008 09:40 AM
Wikipedia: Trust but Verify iBot IT Security RSS 0 05-28-2008 03:50 PM
ssh-keygen trust problem PaulC SuSE 4 04-21-2005 09:17 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-13-2009
kumarmani kumarmani is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 343
configuring user as trust

Hi Gurus,

Got another issue.

I am trying to configure a user to run some scripts through trusted user where in while logging to remote system it shouldn't ask for password.

i did following to get it working but its not working

i create a private and public key with the below command

# ssh-keygen -t rsa -f < file location>

later i moved the public key with extension .pub to remote system home direcotry under the .ssh and rename the same as "authorized_keys"

Create the .rhosts file and entered the hostname

created the hosts.equiv file and added the hostname

After that as on when i am trying to run the ssh from that specific user i am getting

Code:
The authenticity of host (10.10.10.101) can't be established 
RSA key fingerprint is <big alpha number key seprated by :>
Are you sure you want to continue connecting ( yes/no)  and if i type yes it ask for password , if i press no it says Host key verification failed
Your help will be highly appreciated.

Thanks !
  #2 (permalink)  
Old 10-16-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,072
1.Connect to ender
2.type: ssh-keygen -t rsa
default directory for keyfiles will be ~/.ssh/
if you do not want to be prompted, leave passphrase blank
3.copy the contents of .ssh/id_rsa.pub (there should only be one line)
4.place this line on bean, in ~/.ssh/authorized_keys
5.that’s it, you should now be able to ssh/sftp/scp from ender to bean without being prompted for a password!
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0