On Tue, 17 Apr 2001, Thomas Seifert wrote:

> Hi folks,
> 
> I have just compiled and installed openssh 2.5.2p2 (using the standard
> options).
> If I try to login from a remote station I get a "connection closed..."
> right after the login.
> The sshd (in debug-mode) tells the following:
> > ###
> > debug1: Allocating pty.
> > stat(/dev/ttyp7b���`e) failed: No such file or directory
> > debug1: Calling cleanup 0x805387c(0x80dab80)
> > debug1: pty_cleanup_proc: /dev/ttyp7b���`e
> > chown /dev/ttyp7b���`e 0 0 failed: No such file or directory
> > chmod /dev/ttyp7b���`e 0666 failed: No such file or directory
> > debug1: Calling cleanup 0x8060334(0x0)
> > ###

Getting "connection closed" could be caused by:
1. Your remote machine is not allowed to access your server
   Solution: check /etc/hosts.allow on your server and add the line

   sshd: 192.168.4.56

   replace "192.168.4.56" with your remote machine's real IP address

2. The ssh daemon (sshd) is not running. Try port scanning your
   server (nmap is a good one). You should see that port 22 is open.


--------------------
"The best players, I think, are always the ones who remember
their losses, because they remember the pain and they hate it."
    -- Billie Jean King


Reply via email to