>>> [EMAIL PROTECTED] 04/20/02 07:56PM >>>
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.
In hosts.allow;
There is a line that says "in.fingerd : ALL : DENY
and a line that says:
ALL : ALL : spawn (usr/sbin/safe_finger -l @h | /bin/mail -s "Port Denial noted
%d-%h" root) & : DENY
hosts.deny is all comments.
I tried the tail -f messages but I still get "cnnection closed
by remote host" with no messages
the last line on the linux box is webserver sshd: succeeded
for what that's worth
Now I did the netstat -an | grep 22 and recieved exactly what you said
then I did the telnet local host 22 and got almost exactly what you said
except the last line says;
> telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
instead of;
SSH-1.99-OpenSSH_3.1p1
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
***********************************************************************
This message is a private communication. If you are not the intended
recipient, please do not read, copy, or use it, and do not disclose it
to others. Please notify the sender of the delivery error by replying
to this message, and then delete it from your system. Thank you.
---------------------------------------------------------------------
Visit http://www.ballfoundation.org for our latest news.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list