On 18:31 20 Apr 2002, Ian Hendershot <[EMAIL PROTECTED]> wrote:
| No, I don't have the fire wall configured at all. During setup I chose not to use 
|it. sshd is on and ok. what are the seven column when I do chconfig? 
| I have downloaded puTTY onto my Win 98 machine but I still can not access the 
|server. These are the steps I followed:
| double-click on putty.exe.
| Under Connection, choose ssh.  preferred ssh protocol is ssh2.
| entered private ip address, the machines are on the same network (is private ip a 
|problem)??
| Choose protocol ssh.
| Choose Open.  
| If I choose 
| close window on exit:  never
| I get "connection closed by remote host". 
| If I choose 
| close window on exit:  only on clean exit
| the window flashes for a about half a second and goes away.
| Is downloading puTTY all I have to do or do I need to set up some sort of connection 
|between the server's ssh and the client's puTTY, a key or something?

Ok, this looks like it may be tcpwrappers. Do you have anything (other
than comments) in your /etc/hosts.allow and /etc/hosts.deny files?
Also, on the Linux box, cd to /var/log and run the command:

        tail -f messages

While that's operating, try your ssh connection again.
With luck you will see illuminating messages appear.

Other checks: is ssh active?
Try saying:

        netstat -an | grep 22

Near the top of the result should be a line like this:

        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
 
indicating that there is a service listening on port 22 (ssh).

If not, your ssh damon isn't running.
If there is, check that there's ssh there by saying:

        telnet localhost 22

You should get a response like this:

        [~]amadeus*> telnet localhost 22
        Trying 127.0.0.1...
        Connected to localhost.
        Escape character is '^]'.
        SSH-1.99-OpenSSH_3.1p1

Type ctrl-] and then "quit" to get out. If it closes immediately, suspect
tcpwrappers.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

I'm a Denizen and I'm okay.  I flame all night and I ride all day.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to