1834022 Members
2236 Online
110063 Solutions
New Discussion

Re: SSH Trust

 
Nath_3
Frequent Advisor

SSH Trust

Hi,

Please help me out in establishing SSH trust. I am supposed to in the following way.

ravi@elephant---> Nath@toystory.

Is this a one way trust. Pls note that both the hosts are different flavors of Unix.

Thanks in advance

PRN
3 REPLIES 3
Nath_3
Frequent Advisor

Re: SSH Trust

on one host is linux and other is hp-ux.

Re: SSH Trust

Hope this helps.

http://www.youtube.com/watch?v=IpGqRhV9rGg

OR
Samples goes like this:


# ssh-keygen -t dsa
# sftp target_sys
sftp> put /root/.ssh/id_dsa.pub \ /root/.ssh/authorized_keys

sftp> quit
# exec /usr/bin/ssh-agent $SHELL
# ssh-add
# ssh -l root target_sys uname -a



edit /etc/ssh/sshd_config
permit root login to yes


restart ssh using
svcadm restart ssh on both systems

of course commands vary from platform to platform but method remains same

-----
" My Answers are not Final"
surendranath
Advisor

Re: SSH Trust

Hi Asghar,

I tried your steps but I still get password prompt. Could you please tell me after sftping the dsa file on to the target machine. On which machine I need to perform next steps on target machine or on source machine on which I generated the dsa file.