I am running sshd on a RedHat Linux 7.1 (with the latest upgrades
for all openssh* rpms) Dell computer, but cannot seem to
connect to it:

[prompt]$ ssh machine-name.umn.edu
Secure connection to machine-name.umn.edu refused.

In debug mode:
[prompt]$ ssh machine-name.umn.edu -v
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 500 geteuid 0 anon 1
debug1: Connecting to <hostname> [<IP address>] port 22.
debug1: temporarily_use_uid: 500/500 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 500/500 (e=0)
debug1: connect: Connection refused
debug1: restore_uid
debug1: Trying again...
[two more times, then...]
Secure connection to giverny.umn.edu refused.

The machine I'm trying to connect to seems to be running sshd:

[prompt]$ ps -elf | grep sshd
140 S root      1354     1  0  69   0    -   662 do_sel 14:24 ?       
00:00:00 

and it can connect to other machines without problems.

Oddly, in /etc/xinetd.d/, there are many services, but ssh is not among
them.

[prompt]$ cd /etc/xinetd.d; ls
amanda       daytime      finger  klogin         rexec   telnet
amandaidx    daytime-udp  gssftp  krb5-telnet    rlogin  tftp
amidxtape    dbskkd-cdb   imap    kshell         rsh     time
chargen      echo         imaps   linuxconf-web  rsync   time-udp
chargen-udp  echo-udp     ipop2   ntalk          swat    wu-ftpd
comsat       eklogin      ipop3   pop3s          talk

[prompt]$ cat rsh
# default: on
# description: The rshd server is the server for the rcmd(3) routine
and, \
#       consequently, for the rsh(1) program.  The server provides \
#       remote execution facilities with authentication based on \
#       privileged port numbers from trusted hosts.
service shell
{
        socket_type             = stream
        wait                    = no
        user                    = root
        log_on_success          += USERID
        log_on_failure          += USERID
        server                  = /usr/sbin/in.rshd
        disable                 = yes
}

I tried to make a similar entry as root for ssh, using /usr/sbin/sshd
as the server (since there does not appear to be a /usr/sbin/in.sshd),
and set disable = no, but that didn't work.

The file /etc/ssh/sshd_config is exactly as in the following version:
#       $OpenBSD: sshd_config,v 1.38 2001/04/15 21:41:29 deraadt Exp $

Does anyone know what I'm doing wrong? or what I need to install?

Thanks very much,
Kevin Silverstein


-- 
Kevin A. T. Silverstein, Ph.D. <[EMAIL PROTECTED]>
    Department of Plant Biology, University of Minnesota
    220 Biological Sciences Center, 1445 Gortner Avenue
        St. Paul, MN 55108          612-624-3057
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to