Re: Enabling SFTP under Debian 4.0r0
ArcticFox wrote:
> foxpaws:/home/fox# ssh -v localhost
> OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
So far so good.
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Connecting to localhost [127.0.0.1] port 22.
> debug1: Connection established.
> debug1: permanently_set_uid: 0/0
> debug1: identity file /root/.ssh/identity type -1
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version lshd-2.0.2 lsh - a GNU ssh
> debug1: no match: lshd-2.0.2 lsh - a GNU ssh
Where did that come from? Do you have lsh-server installed instead of
openssh-server?
A stock Etch machine with openssh-server would respond here with the
following:
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.3p2 Debian-9
debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
Bit it looks to me that you are not using OpenSSH at all but are
instead using lsh-server.
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9
> debug1: An invalid name was supplied
> Configuration file does not specify default realm
>
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
>
> debug1: An invalid name was supplied
> Configuration file does not specify default realm
>
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
Those look scary but ignore them for now. They are not related to
your present problem. This is related to GSSAPI Authentication.
> and here's /etc/ssh/sshd_config:
The sshd_config file looks perfectly good and normal to me. However
I believe you are not using it and are instead using the lsh-server.
Bob
Reply to: