Click to See Complete Forum and Search --> : SSH Server problems


kakarot
07-25-2002, 08:01 PM
Greetings, I would like some help setting up an SSH server on Mandrake 8.2. I work in a small office with six workstations and a server running Mandrake. I would like to be able to SSH into the server from any of the six machines (all windows 9x) to admin the server when I need to. However, when I try to connect, I get this message from PUTTY:

Unable to open connection: Connection Refused.

It seems like I am being blocked by a firewall, but I really don't have a clue how to permit certain hosts to access port 23.

I would appreciate any help you can give me.

Thanks!

Radar
07-25-2002, 08:24 PM
Sshd listens on port 22

kakarot
07-25-2002, 09:02 PM
Sorry, meant port 22. Small typo.

baldguy
07-25-2002, 09:12 PM
Are you trying to log on as root? Your distro might not allow a remote logon as root. Check your /etc/ssh/sshd_config file and see if it does.

Radar
07-25-2002, 09:14 PM
When you do ps -e | less, do you see sshd?

2245 ? 00:00:00 sshd
2536 ? 00:00:00 apache
2537 ? 00:00:00 apache
2538 ? 00:00:00 apache
2539 ? 00:00:00 apache
2540 ? 00:00:00 apache
2827 tty4 00:00:00 getty
2829 tty5 00:00:00 getty
2830 tty6 00:00:00 getty
2969 ? 00:00:00 pwcheck
3267 ? 00:00:00 imapd
3539 ? 00:00:00 ntpd
7039 tty1 00:00:00 getty
7061 ? 00:00:00 sshd
7063 ? 00:00:00 sshd
7064 pts/0 00:00:00 bash

kakarot
07-25-2002, 10:18 PM
I don't even get a chance to log in as root (wouldn't anyway) - I get kicked out when PUTTY tries to connect

I will try that command to see if sshd is running when I go back to the office tomorrow.

kakarot
08-11-2002, 04:50 PM
Thank you for your responses - I discovered my SSH server was not working right, so I uninstalled it and installed a new version. Works fine now!