[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot jail for user with rssh



basti <mailinglist@unix-solution.de> writes:

> sftp -vv user@example.com
> Transferred: sent 2508, received 2260 bytes, in 0.2 seconds
> Bytes per second: sent 15924.1, received 14349.5
> debug1: Exit status 1
> Connection closed
>
>
> scp -vv user@example.com:/foo /tmp
> Transferred: sent 2508, received 2304 bytes, in 0.2 seconds
> Bytes per second: sent 15051.0, received 13826.7
> debug1: Exit status 255
> (...)
> I have no idea anymore whats wrong and how can I debug.

You can't debug such setups from the client side.

Have a look in /var/log/auth.log on the server and if that doesn't help:

a) if necessary modify the firewall
b) launch sshd on a different port with no backgrounding and debug
output
  => sshd -d -p 1234
c) retry above steps with the alternate port

Peter


Reply to: