[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ssh server installation problem.



First, you said you
       /sbin/service sshd -start

Probably a typo, but you're not supposed to have "-" in front.

Assuming that was done correctly, try
   $ ps -aux | egrep sshd
and make sure there's a sshd process running.
Also try
   $ netstat -a
and make sure there's something "LISTEN"ing on the "*:ssh" port.

If all that is true, kill sshd.  Then, probably as root, run
   # sshd -d
and on the client end run
   $ ssh -v bp6.stat.rice.edu
and see what the output is on both machines.  If the daemon on
bp6.stat.rice.edu is getting "hit", then you'll see output from
the debug sshd.  On the client side, you'll also see debug output.

That may (but not always) give you some clues.

One other thing to check before doing all that is /var/log/messages to
see if the daemon you were running was giving any errors.
   === Al

--- Bo Peng <bpeng stat rice edu> wrote:
> I installed Redhat linux 7.3 without openssh-server. I then downloaded
> and installed openssh-server-3.1p1-6. However, when I started sshd via
> /sbin/services sshd -start, I could not connect to my machine from any
> other machine. I always get 
> "FATAL: Connecting to bp6.stat.rice.edu failed: Connection Refused"
> 
> I believe that my ssh-server is installed and running since I can ssh
> localhost. My ssh client is working OK since I can connect to other
> machines. I checked /etc/ssh/sshd_config (I was told that I need to
> change nothing.) and found nothing wrong. I also checked
> /etc/hosts.allow and ...
> 
> Where else might I do wrong? 
> 
> Thanks.
> Bo
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]