From: claus.kick on
On 1 Sep., 20:54, Patata Kid <n...(a)none.com> wrote:
> Hi all.
> I have a *strange* problem with my Solaris 10 installation.
>
*snip*

> The client reports a "error 128" when someone tries to connect, but the
> connection doesn't start.
> Strange is that if I comment the above line the connection *is* accepted!
> (gulp!)

That is indeed weird - Is it possble that you forgot to restart sshd
once or so?

From: Zfs.. on
On Sep 1, 7:54 pm, Patata Kid <n...(a)none.com> wrote:
> Hi all.
> I have a *strange* problem with my Solaris 10 installation.
>
> Simply put, the ssh daemon does *not* allow *any* user to connect via
> SFTP, even if I have placed the line:
> "Subsystem       sftp   /usr/lib/ssh/sftp-server" in my
> /etc/sshd/sshd_config file.
>
> The client reports a "error 128" when someone tries to connect, but the
> connection doesn't start.
> Strange is that if I comment the above line the connection *is* accepted!
> (gulp!)
>
> By the way,... the "normal" ssh connection *does* work,... I really do not
> understand why it refuses the sftp connection.
>
> Can someone help me to resolve this mystery?
>
> P.S. I do not have any firewall active (the connection generates from my
> internal network),...
>
> I Googled and googled without any results...
>
> Thanks a lot.
>
> Patata.

what is does svcs | grep ssh tell you ?
From: claus.kick on
On 2 Sep., 01:08, "Zfs.." <cian.scrip...(a)gmail.com> wrote:
> On Sep 1, 7:54 pm, Patata Kid <n...(a)none.com> wrote:
>
>
>
> > Hi all.
> > I have a *strange* problem with my Solaris 10 installation.
>
> > Simply put, the ssh daemon does *not* allow *any* user to connect via
> > SFTP, even if I have placed the line:
> > "Subsystem       sftp   /usr/lib/ssh/sftp-server" in my
> > /etc/sshd/sshd_config file.
>
> > The client reports a "error 128" when someone tries to connect, but the
> > connection doesn't start.
> > Strange is that if I comment the above line the connection *is* accepted!
> > (gulp!)
>
> > By the way,... the "normal" ssh connection *does* work,... I really do not
> > understand why it refuses the sftp connection.

Oh, I have an idea ...

With what tool do you connect?

Is it possible that you only allow connecting via ssh 2 and that sftp
client connects try to authenticate via ssh1?
From: Patata Kid on
On Tue, 01 Sep 2009 16:08:17 -0700, Zfs.. wrote:

> what is does svcs | grep ssh tell you ?

well,... the service is "up and running..."

online 19:21:16 svc:/network/ssh:default



From: Patata Kid on
On Wed, 02 Sep 2009 01:33:12 -0700, claus.kick(a)googlemail.com wrote:

mmm,... I did not think to this aspect,... I use WinSCP to connect to
Solaris.
Thanks for the suggestion,... I will investigate.




> Oh, I have an idea ...
>
> With what tool do you connect?
>
> Is it possible that you only allow connecting via ssh 2 and that sftp
> client connects try to authenticate via ssh1?