Does "ps -C sshd" give a result on the server you are connecting to? Does netstat -a on the server you are connecting to show that it is listening on port 22?
If you telnet to port 22 on the server from your client, do you get a response? If you telnet to port 22 on the server from the server (ie telnet localhost 22) does that give a response? If it does, I would imagine that your firewall configuration on the server disallows connections to port 22 from remote machines. - John Airey Internet systems support officer, ITCSD, Royal National Institute for the Blind, Bakewell Road, Peterborough PE2 6XU, Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 [EMAIL PROTECTED] Agnostic (Greek) = Ignoramus (Latin) >-----Original Message----- >From: Kevin A. T. Silverstein [mailto:[EMAIL PROTECTED]] >Sent: 16 January 2002 22:47 >To: [EMAIL PROTECTED] >Subject: RedHat Linux 7.1 ssh connection refused > > >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] > - NOTICE: The information contained in this email and any attachments is confidential and may be legally privileged. If you are not the intended recipient you are hereby notified that you must not use, disclose, distribute, copy, print or rely on this email's content. If you are not the intended recipient, please notify the sender immediately and then delete the email and any attachments from your system. RNIB has made strenuous efforts to ensure that emails and any attachments generated by its staff are free from viruses. However, it cannot accept any responsibility for any viruses which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]