Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-29-2014, 05:06 PM   #1
LQ Newbie
Registered: Jul 2014
Distribution: Debian,Mint
Posts: 3

Rep: Reputation: Disabled
can't login to ssh server--error: write failed broken pipe

Hi everybody,

I hope you can help me with my problem and forgive me if my english may sound
a little bit weird, it's not my primary language

The Problem:

I have a linux home server with ssh runnig on it, everything worked fine until
I created a chrooted user for a friend, so that he can sftp to it and upload files. The chrooted user can connect to the server perfectly fine, but other users (not chrooted) can't login anymore and get the error:

Write failed: Broken pipe

Does anybody know what to do?

Thanks in advance
Old 07-30-2014, 11:25 AM   #2
Registered: Jun 2009
Location: México
Distribution: Suse, Debian based, CentOs
Posts: 48

Rep: Reputation: 10
Hi daforce,

I have only theroical understanding of chroot process, but I think you may have messed a little your OS or at least the login.

Which distro do you use?
can you login with a privileged user?

If you can login and get in admin mode (sudo or su) you may want to look at /var/log/messages file and look for the word 'login' or the user name(s) that have that error.

Broken pipe means (grosso modo) that the connection was closed unexpectedly but there are many causes
Old 08-09-2014, 09:05 AM   #3
LQ Newbie
Registered: Jul 2014
Distribution: Debian,Mint
Posts: 3

Original Poster
Rep: Reputation: Disabled
I think i messed up my system by blindly using apt-get upgrade.
My MYSQL server was also not working anymore.
Lesson learned. Will install from scratch.

Thx for trying to help me


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
write failed broken pipe sachin.davra Linux - Newbie 6 04-23-2014 03:23 AM
[SOLVED] Write failed: Broken pipe vikky Linux - Newbie 8 03-24-2014 02:02 PM
SSH-Write failed broken pipe Error vignesh4sh Linux - Server 1 11-22-2012 11:01 AM
[ssh] write failed: broken pipe mosthated Linux - Newbie 2 06-28-2012 06:21 AM
ssh Write failed: Broken pipe shogun1234 Linux - Networking 3 12-08-2010 09:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration