# Ssh problem

**URL:** <https://www.ruby-forum.com/t/ssh-problem/166662>\
**Category:** Rails\
**Created:** [April 28, 2009, 10:52am UTC](https://www.ruby-forum.com/t/ssh-problem/166662 "2009-04-28T10:52:44Z")\
**Posts on this page:** 1\
**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 28, 2009, 10:52am UTC](https://www.ruby-forum.com/t/ssh-problem/166662/1 "2009-04-28T10:52:44Z")

</div>

I create my ssh keys by using Git Bash.exe and i copy the ssh  
file ,and ssh public keys file from my document and past them in  
authorized\_keys folder in ssh folder in the config folder

i use deprec and capistrano to depoly my rails application  
but when i write " cap deprec:ssh:setup\_keys " and then give  
the ssh public key (ssh.pub)  
this message display  
" Could not find ssh public  
key(s) for user mahmoud

```
                                      Please create file

```

containing ssh public keys in:

```
                                           config/ssh/

```

authorized\_keys/ssh.pub "

how can i solve this problem?
