# Any way to use RSA1 for ssh in ruby?

**URL:** <https://www.ruby-forum.com/t/any-way-to-use-rsa1-for-ssh-in-ruby/186544>\
**Category:** Ruby\
**Created:** [April 8, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/any-way-to-use-rsa1-for-ssh-in-ruby/186544 "2010-04-08T17:05:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![terevos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@terevos](https://www.ruby-forum.com/u/terevos)\
**Post date:** [April 8, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/any-way-to-use-rsa1-for-ssh-in-ruby/186544/1 "2010-04-08T17:05:30Z")

</div>

I saw a number of places say that Net::SSH does not support rsa1. Is  
there any other gems or ways I can get the functionality of driving an  
ssh session using an rsa1 key?

---

<div class="post-metadata">

**Author:** ![terevos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@terevos](https://www.ruby-forum.com/u/terevos)\
**Post date:** [April 8, 2010, 5:41pm UTC](https://www.ruby-forum.com/t/any-way-to-use-rsa1-for-ssh-in-ruby/186544/2 "2010-04-08T17:41:02Z")

</div>

Terevos Gmail wrote:

> I saw a number of places say that Net::SSH does not support rsa1. Is  
> there any other gems or ways I can get the functionality of driving an  
> ssh session using an rsa1 key?

Net::SSH doesn’t support the SSH1 protocol, which was put out to grass  
years ago. Even openssh disables it by default now:  
[http://www.openssh.com/txt/release-5.4](http://www.openssh.com/txt/release-5.4)

It would be a very good idea to enable SSH2 in your server.

---

<div class="post-metadata">

**Author:** ![terevos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@terevos](https://www.ruby-forum.com/u/terevos)\
**Post date:** [April 8, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/any-way-to-use-rsa1-for-ssh-in-ruby/186544/3 "2010-04-08T17:45:51Z")

</div>

Brian C. wrote:

> Net::SSH doesn’t support the SSH1 protocol, which was put out to grass  
> years ago. Even openssh disables it by default now:  
> [http://www.openssh.com/txt/release-5.4](http://www.openssh.com/txt/release-5.4)
> 
> It would be a very good idea to enable SSH2 in your server.

Thanks for the quick response, I suspected as much. I am looking into  
SSH2 support, but unfortunately, they are not my servers.
