Go Back   HostGator Peer Support Forums > HostGator Announcements > General Announcements

Notices

Reply
 
Thread Tools
  #226  
Old 07-18-2009, 03:34 AM
nobodyiscertain nobodyiscertain is offline
Hatchling Croc
 
Join Date: Jul 2009
Posts: 1
Default Re: All Servers - SSH Access Restricted

Quote:
Originally Posted by kjvarga View Post
Holy smokes, I've fixed the Capistrano problem! I feel like a god! I feel invincible! I feel...dizzy.

It turns out it's a problem with Ruby's Net::SSH and OpenSSL implementations, and possibly also with your OpenSSL C libraries :/

However, I've created a work around for Net::SSH which should cover any bugs in the underlying OpenSSL. The problem is with the ARCFOUR256 cipher and OpenSSL's RC4 cipher handling. OpenSSL thinks the key should be 16 bytes long so Net::SSH goes and creates one of 16 bytes. But then OpenSSH says that "the key is too short".

So I've forced Net::SSH to generate adequately long keys for ARCFOUR256 and ARCFOUR512 (I added that for kicks) ciphers and now OpenSSL doesn't complain.

You can read more about it and get an updated ruby Gem from http://github.com/kjvarga/net-ssh/tree/master.
Good Lord Man.

Thank you. Thank you. Thank you.

Grabbed the gem and it works like butter.

Thanks again.
Reply With Quote
Reply

Bookmarks

Thread Tools

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
access restricted page Beatmeoutofme Pre-Sales Questions 1 09-08-2008 04:06 PM
Linux servers or Windows servers? Sphinx Shared Hosting Support 2 06-17-2008 12:55 PM
Restricted Upload via FTP?? Pazeh Shared Hosting Support 6 01-10-2008 08:03 AM
creating a quota/password restricted ftp account YellowFish Shared Hosting Support 1 05-30-2003 12:14 PM

All times are GMT -6. The time now is 04:57 AM.