Re: Problems w/ SSH2 on Debian + W2K Putty client
From: Laurent_wiz (laurent75_at_netcourrier.com)
Date: 02/19/04
- Next message: all mail refused: "Re: restricting access for users that don't have a homedir"
- Previous message: Andy Fish: "Putty hangs win2k machine"
- In reply to: Richard E. Silverman: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Next in thread: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Reply: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Next message: all mail refused: "Re: restricting access for users that don't have a homedir"
- Previous message: Andy Fish: "Putty hangs win2k machine"
- In reply to: Richard E. Silverman: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Next in thread: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Reply: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|