Textwrangler Connection unexpectedly lost error - Solution

Sunday, July 1, 2012

When I was using TextWrangler text editor for MAC to connect to a remote Linux system to edit some text files there, once I got an error like the one shown below

"The server operation couldn't be completed because the connection was unexpectedly lost (application error code: 22807)"

Figure 1: TextWrangler connection unexpectedly lost error

Upon looking into the issue in-depth, found out that adding the following entry in /etc/ssh/sshd_config file on the remote Linux machine would fix the issue (you need root privileges for these commands).

1. Edit /etc/ssh/sshd_config, add the following line.

Subsystem sftp /usr/libexec/openssh/sftp-server

2. Restart ssh service

/etc/init.d/sshd stop
/etc/init.d/sshd start

This should fix the TextWrangler connection issue.

No comments:

Copyright © 2016 Prasanna Seshadri, www.prasannatech.net, All Rights Reserved.
No part of the content or this site may be reproduced without prior written permission of the author.