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!

ssh newbie

Status
Not open for further replies.

hfaix

MIS
Nov 25, 2003
596
US
Ok, I'm new to ssh. I have installed zlib, ssl, and ssh on two AIX 5.3 ML2 lpars and it appears to be running just fine. The problem is when I try to connect to my servers through putty it fails to connect, or when I ssh from one lpar to the other I get

ssh: connect to host myhostname port 22: Connection refused

Maybe my commands are wrong. I'm trying "ssh hostname" and "slogin hostname" .... neither works

What am I missing?

 
is sshd running on the server?

do

telnet server.ip.address 22

see what you get
 
Thanks for your reply. I finally hacked my way through it.

I had sshd running, however because the default permissions on the keys were 777 the daemon wasn't running properly.

I killed the daemon.
then chmod 700'd the keys
and then chmod 700'd the /var/empty directory

now it works fine. I've got a lot of tweaking to do, but atleast it's kind of working!


Weird! Thanks again.
 
Since you mentioned installing zlib, I'm guessing you're using the freeware packages from Bull or UCLA.

You might find it easier to manage the installp/rpm combination provided by IBM as described in the AIX 5.3 Security Guide. It installs and configures ssh as a subsystem.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Thanks, Rod.... I'm going to try that out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top