more on non-working ssh
Mike Parson
yellowdog-general@lists.terrasoftsolutions.com
Mon Mar 29 11:13:01 2004
On Mon, Mar 29, 2004 at 11:43:23AM -0600, Nathan Moore wrote:
> YDL 2.3 on Beige g3... ssh from the machine works, ssh to the machine
> fails with error:
>
> [102]nmoore@spartha> ssh mac468.ctc.um.edu
> ssh: connect to host mac468.ctc.um.edu port 22: Connection refused
>
> Ok I tried the commands you suggest,
>
> [root@mac468 nmoore]# /sbin/chkconfig sshd on
> error reading information on service sshd: No such file or directory
> [root@mac468 nmoore]# /sbin/service sshd start
> sshd: unrecognized service
> it looks like ssh isn't installed? Why can I ssh from the machine mac468,
> but not to the machine?
ssh, the client, is installed, sshd, the server, isn't.
# rpm -qa | grep ssh
openssh-askpass-gnome-3.5p1-11
openssh-clients-3.5p1-11
openssh-server-3.5p1-11
openssh-askpass-3.5p1-11
openssh-3.5p1-11
So, to correct this:
yum install openssh-server
/sbin/chkconfig sshd on
/sbin/service sshd start
--
Michael Parson
mparson@bl.org