Computing.Net > Forums > Unix > SSH Configuring

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SSH Configuring

Reply to Message Icon

Name: Gobbozavr
Date: October 10, 2006 at 04:30:36 Pacific
OS: HP-UX
CPU/Ram: *
Product: *
Comment:

I need to configure SSHd on two servers which are working under HPUX v11 to loging to remote system .
----------
After performing all of necessary steps I have the following situation:
1. I'm avalable to connect to one of the server form another without entering the password.
2. I'm unable to connect to one of the server form another without entering the password.
--------------
The following configuration steps were performed:

1. /usr/bin/ssh-keygen -t rsa
2. /usr/bin/ssh-keygen -t dsa
3. $ touch ~/.ssh/authorized_keys
$ cd ~/.ssh
$ ls
4. [oracle@node1 .ssh]$ ssh hpit1.test.org cat /home/oracle/.ssh/id_rsa.pub >> authorized_keys
oracle@node1's password:
[oracle@node1 .ssh]$ ssh hpit1.test.org cat /home/oracle/.ssh/id_dsa.pub >> authorized_keys
[oracle@node1 .ssh$ ssh hpux2.test.org cat /home/oracle/.ssh/id_rsa.pub >> authorized_keys
oracle@node2's password:
[oracle@node1 .ssh$ ssh hpux2.test.org cat /home/oracle/.ssh/id_dsa.pub >>authorized_keys
oracle@node2's password:

5. scp authorized_keys hpux2.test.org:/home/oracle/.ssh/
6.chmod 600 ~/.ssh/authorized_keys on all of the nodes
7. $ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add

on all of the nodes...


Where I was wrong?




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


crontab problem Handling // character wit...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: SSH Configuring

Solaris 9, SSH configure www.computing.net/answers/unix/solaris-9-ssh-configure/5922.html

SSH and remote execution www.computing.net/answers/unix/ssh-and-remote-execution/4627.html

Help ! Help ! I need help to configure XF86 www.computing.net/answers/unix/help-help-i-need-help-to-configure-xf86/180.html