jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Jailkit's SFTP disconnects without reason ( Unexpect


From: Olivier Sessink
Subject: Re: [Jailkit-users] Jailkit's SFTP disconnects without reason ( Unexpected end of sftp stream )
Date: Wed, 05 Jun 2013 18:18:31 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

do you have logging inside the jail? (a path/to/jail/dev/log)

that probably gives some more details.

Olivier

On 06/04/2013 11:24 PM, Marcus wrote:
> I'm getting knocked off the server when trying to connect with an SFTP
> client (cybderduck) and it tells me "Unexpected end of sftp stream"
> 
> I followed the guide Jailkit howto - creating an sftp/scp-only shell in
> a chroot jail <http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html>
> 
> My auth.log says:
> 
> 
> Jun  4 21:16:39 ip-10-49-19-11 sshd[15782]: Accepted password for mike
> from 1.2.3.4 port 54659 ssh2
> Jun  4 21:16:39 ip-10-49-19-11 sshd[15782]: pam_unix(sshd:session):
> session opened for user mike by (uid=0)
> Jun  4 21:16:39 ip-10-49-19-11 sshd[15863]: subsystem request for sftp
> by user mike
> Jun  4 21:16:39 ip-10-49-19-11 jk_chrootsh[15864]: now entering jail
> /home/sftpjail for user mike (2006) with arguments -c
> /usr/lib/openssh/sftp-server
> Jun  4 21:16:39 ip-10-49-19-11 sshd[15782]: pam_unix(sshd:session):
> session closed for user mike
> Jun  4 21:16:40 ip-10-49-19-11 sshd[15865]: Accepted password for mike
> from 1.2.3.4 port 54660 ssh2
> Jun  4 21:16:40 ip-10-49-19-11 sshd[15865]: pam_unix(sshd:session):
> session opened for user mike by (uid=0)
> Jun  4 21:16:40 ip-10-49-19-11 sshd[15946]: subsystem request for sftp
> by user mike
> Jun  4 21:16:40 ip-10-49-19-11 jk_chrootsh[15947]: now entering jail
> /home/sftpjail for user mike (2006) with arguments -c
> /usr/lib/openssh/sftp-server
> 
> This is after a fresh installation of jailkit on Ubuntu 12.04 (a second
> attempt after it didn't work on the server I had already bee using with
> jailkit)
> 
> 
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/jailkit-users
> 


-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]