configuring user as trust

Thread Tools Search this Thread
Operating Systems Solaris configuring user as trust
# 1  
Old 10-13-2009
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

The authenticity of host ( 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  
Old 10-16-2009
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/ (there should only be one line) 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!
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Configuring wu-ftpd for ftp user login

I am having trouble configuring wu-ftpd on my system to allow a real user to login. I am not sure where to start. I'll try to give as much information as possible. Here is a log of what happened. ftp> open Connected to 220 FTP server (Version... (0 Replies)
Discussion started by: mnmonu
0 Replies

2. Shell Programming and Scripting

SSH Trust Testing

Hi, I want test the ssh trust between two host. It works fine if the trust is working fine but if the trust is not working fine it gets stuck. #!/bin/sh >/users/test/ssh.txt for i in `cat /users/test/host.txt`; do ssh test@$i uname -a >> /users/test/ssh.txt test=`cat... (0 Replies)
Discussion started by: Abhayman
0 Replies

3. UNIX for Advanced & Expert Users

Configuring user in c-shell

Hi, We need to configure user in c shell with the following format when he tries to login to the system for SOLARIS 9 OS username@hostname> Let me know the steps for the confiuring the user login as per the requirement.. (2 Replies)
Discussion started by: hydoss1
2 Replies

4. Linux

SCEP and Trust Anchor

Hi Does anybody knows about the simple certificate enrollment protocol details ? if yes please provide me the details. And what is a trust anchor profile ? Thanks in advance. (0 Replies)
Discussion started by: chaitus.28
0 Replies

5. UNIX for Dummies Questions & Answers

ssh trust issue

Hi, i am setting up ssh trust setup between two servers where SVRA is a solaris box and SVRB is a Red Hat Linux. It is asking for the password all the time. I have copied over the SVRA:/home/nagios/.ssh/ as authorized_keys on to SVRB:/dat01/home/nagios/.ssh/ -bash-3.00$ ssh -vvv... (4 Replies)
Discussion started by: uxadmin007
4 Replies

6. HP-UX

Not Trust Host

I get a message similar to this, in the syslog file. Actually, I am trying to let the host at access the HP-UX system. How do I get it trusted? Thanks! (2 Replies)
Discussion started by: instant000
2 Replies

7. Shell Programming and Scripting

ssh2-keygen trust issue

I have two systems SysA & SysB having the same userid sharing the home directory via NFS mount. I need to know the steps to setup ssh trust between these two systems given that both share the home dir. I have tried all the steps to generate the keys & then creating identification &... (2 Replies)
Discussion started by: deo_kaustubh
2 Replies
Login or Register to Ask a Question