Re: Problems w/ SSH2 on Debian + W2K Putty client

From: Laurent_wiz (laurent75_at_netcourrier.com)
Date: 02/19/04


Date: 19 Feb 2004 11:30:48 -0800

Richard E. Silverman <res@qoxp.net> wrote in message news:<m24qtncvqm.fsf@darwin.local>...
> Include your server configuration file, as well as a complete debugging
> trace of a session from both sides.

Ok, so "foobar" is the server, "otherfoobar" is the client, and the
network is mynet.net.

Here is the server debbuging trace :

WARNING: Development-time debugging not compiled in.
WARNING: To enable, configure with --enable-debug and recompile.
WARNING: Development-time debugging not compiled in.
WARNING: To enable, configure with --enable-debug and recompile.
debug: Reading private host key from /etc/ssh2/hostkey
debug: Key comment: 1024-bit dsa, root@foobar, Thu Feb 19 2004
00:33:14 +0100
debug: SshUnixConfig/sshunixconfig.c:270/ssh_server_load_host_key:
Reading public host key from: /etc/ssh2/hostkey.pub
debug: Becoming server.
debug: Creating listener
debug: Listener created
sshd2[295]: Listener created on port 2222.
sshd2[295]: Daemon is running.
debug: Running event loop
sshd2[295]: connection from "10.0.0.3"
debug: Sshd2/sshd2.c:653/new_connection_callback: Wrapping stream with
ssh_server_wrap...
debug: ssh_server_wrap: creating transport protocol
debug: ssh_server_wrap: creating userauth protocol
debug: Sshd2/sshd2.c:663/new_connection_callback: done.
debug: new_connection_callback returning
debug: Remote version: SSH-2.0-PuTTY-Release-0.54

sshd2[295]: Connection from otherfoobar.mynet.net denied.
Authentication as user bozo was attempted.
debug: Sshd2/sshd2.c:317/auth_policy_proc: Connection from
otherfoobar.mynet.net denied. Authentication as user bozo was
attempted.
sshd2[295]: Remote host disconnected: No supported authentication
methods available
sshd2[295]: disconnected by application: 'No supported authentication
methods available'
debug: Exiting event loop

And here is the log from Putty on W2K :

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2004.02.19 20:25:05
=~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH packets mode) to file:
C:\utils\Putty\putty.log
Event Log: Looking up host "foobar"
Event Log: Connecting to 10.0.0.1 port 2222
Event Log: Network error: Connection refused

And here is my sshd2_config file, pretty standard :

# sshd2_config
# SSH 2.0 Server Configuration File

*:
        Port 2222
        ListenAddress 0.0.0.0
        Ciphers AnyStd
# Ciphers AnyCipher
# Ciphers AnyStdCipher
# Ciphers 3des
        IdentityFile identification
        AuthorizationFile authorization
        HostKeyFile hostkey
        PublicHostKeyFile hostkey.pub
        RandomSeedFile random_seed
        ForwardAgent yes
        ForwardX11 no
# DEPRECATED PasswordAuthentication yes
        PasswordGuesses 3
# MaxConnections 50
# 0 == number of connections not limited
        MaxConnections 0
# PermitRootLogin nopwd
        PermitRootLogin no
# DEPRECATED PubkeyAuthentication yes
# AllowedAuthentications publickey,password,hostbased
        AllowedAuthentications publickey,password,hostbased
        RequiredAuthentications password
        ForcePTTYAllocation no
        VerboseMode no
        PrintMotd yes
        CheckMail yes
        UserConfigDirectory "%D/.ssh2"
# UserConfigDirectory "/etc/ssh2/auth/%U"
        SyslogFacility AUTH
# SyslogFacility LOCAL7
        Ssh1Compatibility yes
        Sshd1Path /usr/sbin/sshd1
        AllowHosts localhost, 10.0.0.3
        DenyHosts *
# AllowSHosts trusted.host.org
# DenySHosts not.quite.trusted.org
# NoDelay yes

# KeepAlive yes
        RequireReverseMapping yes
        UserKnownHosts yes

# subsystem definitions

        subsystem-sftp sftp-server

Thanks for your time :)

l.



Relevant Pages

  • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
    ... debug: ... connection lost. ... client on the same node as the server. ... [No surprise, as I allow, but don't use, host-based authentication.] ...
    (comp.os.vms)
  • Re: Problem: I cant debug APP VS 2003 with ActiveSync 4.5
    ... Since you're using ActiveSync to make the connection, not the network, you ... install the Smart Device development components... ... In this machine I can work normaly (i can debug APP with VS2003), ...
    (microsoft.public.pocketpc.activesync)
  • RE: Sprint Novatel Ovation U720 USB phone very slow on Fedora
    ... IntelPRO/100 VE Network Connection - Packet Scheduler Miniport ... It is usually a matter of the 'correct' initialize/dial strings. ... With syslog set to debug you should be able to see the entire handshake ... This means that a dial up initialization string (AT command) needs to be ...
    (Fedora)
  • Cant copy files using SCP on OpenVMS
    ... connected, or connection down, waiting... ... tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:956: Connecting to remote ... debug: ... from connection protocol. ...
    (comp.os.vms)
  • Re: SCP fails while ssh works...
    ... > hiss) inability to form a complete connection. ... > debug: server offers auth methods ... Waiting... ... > debug: destroying client struct... ...
    (freebsd-questions)