Putty Connection Problem

Discussion in 'Installation/Configuration' started by Jombee, Feb 25, 2007.

  1. Jombee

    Jombee New Member

    Hi all, I've installed the dapper drake server by following the HOWTO. The problem I'm having is that I can't connect through putty from my windows box to my linux box. It says Connection Refused. I've rechecked everything and I can't seem to figure it out. Help would be very appreciated.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the following commands executed on youre server:

    netstat -tap | grep ssh

    iptables -L
     
  3. Jombee

    Jombee New Member

    Thanks for the reply till, but the problem seems to have cleared up. I'm not sure what I did, but I tried in desperation again to putty into my linux box and it worked. Surprisingly, it continues to work. In any case, this still might be a good learning experience for me and whoever else has this problem, so let's see what's in the file:

    tcp6 0 0 *:ssh *:* LISTEN 4118/sshd
    tcp6 0 52 msb.hvc.rr.com:ssh ::ffff:192.168.1.1:1299 ESTABLISHED8746/sshd: admin [p

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT tcp -- anywhere anywhere tcp dpt:ftp

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
     
  4. Boon-Dog-Danny

    Boon-Dog-Danny New Member

    re

    Hi Till same thing on my setup.. I got me a nice dual pent 3 blade server and so I love debian 3.1 loaded right up but cant puddy or winSCP3 in.?? and cant figure out whats up?.. I've loaded this disk/system before with no troubles ..anyway I did the above commands

    tcp 0 0 localhost.localdom:smtp *:* LISTEN 1
    800/exim4

    the grep ssh just kinda froze everything..
    and iptables..

    Chain INPUT (policy ACCEPT)
    target prot opt source destination


    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    I did not see ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
    on mine like he had on his.. how do I fix that Till?
     
  5. zcworld

    zcworld New Member

    one thing i found thats i hate about the ubuntu system is that there is no ssh installed by default

    so i guess thats ur problem there

    but to fix it
    log in
    and do
    sudo apt-get install ssh
    or is it openssh
    its something like that the package is called
    to install the ssh server on the box
    once installed
    you should have ssh / winscp3 back again :)

    i think thats all ur problem is
    sorry if you had got that installed already :)
     
  6. Boon-Dog-Danny

    Boon-Dog-Danny New Member

    re

    Thanks..

    I had to jump thru a few hoops..

    for those following or having the same troubles..

    I tried the
    apt-get install openssh it said no but gave me instructions to go foward..

    I did this
    apt-get install -f
    that installed a few things then
    apt-get install openssh-client
    which installed..
    then
    apt-get install openssh-server
    which installed..
    tada :D

    all fixed
     

Share This Page