VanDyke Secure CRT - bind: Permission Denied Error when connecting to Ubuntu SSH Server

April 12, 2008 on 5:56 pm | In linux, software |

When using Windows, I use VanDyke SecureCRT to connect to my Linux machines, which include servers running Red Had Enterprise Linux (RHEL), CentOS, and the Debian-derived Ubuntu. Everything was working fine until today.

Though I was playing around with the SSH configuration files to get SFTP transferred files to set a specific file permissions mask (umask), I don’t think I changed anything that would have caused this error:

“Connection to session XXXX failed: The server has disconnected with an error. Server message reads: A protocol error occurred. bind: Permission denied.”

eoe-crt-error.jpg

“Connection to session XXXX failed: The server has disconnected with an error. Server message reads: A protocol error occurred. bind: Permission denied.”

The problem occurred on the Debian/Ubuntu based machine. Interestingly, the error only occurred when using SecureCRT - sftp via Sftpdrive worked great, and connecting to the machine via other SSH clients worked fine as well.

After trying everything I could think of, including changing authentication methods, user names, etc, and after much searching, I finally found a solution over in the HP forums:

Got it working. Fix is:
in SecureCRT

Options -> Global Options -> SSH2 Options

Turn off Option: Enable OpenSSH agent forwarding

eoe-crt-fix.jpg

Easy enough fix, but it took me about an hour to find the solution. If yo urun into the same problem, hopefully you’ll find this post much quicker than I found the HP solution.

Like this story? Share with others on:
      del.icio.us    digg    reddit    furl
      

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^
40 queries. 0.185 seconds.