Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set up of ssh keys

Status
Not open for further replies.

kjsys1

MIS
Jan 14, 2003
14
US
Is anyone running on their AIX Unix servers sshd with Secure Shell (lslpp -l |grep -i ssh produces:
SSH.Secure.Shell 3.1.0.0 COMMITTED SSH Secure Shell Server
SSH.Secure.Shell 3.1.0.0 COMMITTED SSH Secure Shell Server
)

A couple of servers use the OpenSSH and I have not yet been able to create the ssh keys correctly to be able to run commands w/o the password from one server (w/ Secure Shell) to the other server (w/ OpenSSH).
Any ideas?

 
it works. you need to meet some requirements:

- the remote user requires rlogin=true
- the home directory must be owned by the user with rights 755 otherwise you need to set strictmode=no in sshd_config
- if the remote user is root, then permitrootlogin in sshd_config shoud be set to yes
- ~/.ssh rights should be 700
- ~/.ssh/authorized_keys rights should be 644 or 444


I think that's all. If not please let me know.

btw. there is a latest openssh version compiled for AIX (in bff package for AIX 4.3 and AIX 5.2) you can get it from
 
and to create ssh keys try this:

ssh-keygen -t rsa

or

ssh-keygen -t dsa

It will create default named protocol 2 keys (pairs) in ~/.ssh/ direcotry.

when prompted for password just press enter to set it empty.

If you would set passwort for the keys then to ssh w/o the password you will need to use ssh-agent.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top