# Deprec problem

**URL:** <https://www.ruby-forum.com/t/deprec-problem/166618>\
**Category:** Rails\
**Created:** [April 27, 2009, 10:38pm UTC](https://www.ruby-forum.com/t/deprec-problem/166618 "2009-04-27T22:38:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [April 27, 2009, 10:38pm UTC](https://www.ruby-forum.com/t/deprec-problem/166618/1 "2009-04-27T22:38:34Z")

</div>

i deploy my rails application with capistrano and deprec2 to ubuntu  
the username is ‘mahmoud’  
but when i deploy this message display  
" connection failed for: 10.0.0.8  
(Net::SSH::AuthenticationFailed: mahmoud) "  
what can i do?

---

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [April 27, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/deprec-problem/166618/2 "2009-04-27T22:52:42Z")

</div>

On Mon, Apr 27, 2009 at 1:37 PM, mahmoud\_cs  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> i deploy my rails application with capistrano and deprec2 to ubuntu  
> the username is ‘mahmoud’  
> but when i deploy this message display  
> " connection failed for: 10.0.0.8  
> (Net::SSH::AuthenticationFailed: mahmoud) "  
> what can i do?

You can simply verify your connection by doing the following:

ssh mahmoud@

If this doesn’t work, then you need to check that you can connect  
to the host using SSH. Then you’ll need to verify that you’re using  
the correct credentials.

If it does work, then you’ll need to check that you’re the correct  
credentials within your Capistrano configs.

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [April 27, 2009, 10:53pm UTC](https://www.ruby-forum.com/t/deprec-problem/166618/3 "2009-04-27T22:53:52Z")

</div>

On Mon, Apr 27, 2009 at 1:52 PM, Conrad T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> You can simply verify your connection by doing the following:
> 
> ssh mahmoud@

The above command is to be performed at the command line.
