I am trying to connnect to github, but am getting a Permission denied (publickey) error. I generated new id_rsa.pub and put them in my account at github, but this didn't help. I then tried to create new id_dsa.pub and id_dsa keys,
ssh-keygen -t dsa. However, when I go to try to copy the id_dsa.pub key I am told the directory does not exist.
Note I am using Mac OSX
skline-mac:first_app skline$ sudo ssh-keygen -t dsaPassword: Generating public/private dsa key pair. Enter file in which to save the key (/var/root/.ssh/id_dsa): /var/root/.ssh/id_dsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /var/root/.ssh/id_dsa. Your public key has been saved in /var/root/.ssh/id_dsa.pub. The key fingerprint is: ba:26:95:3e:11:bb:b7:32:01:ae:14:fe:d9:2a:03:0e firstname.lastname@example.org The key's randomart image is: +--[ DSA 1024]----+ | | | | | | | . . . | | . o . +S | |E o . *. | |oo o =.+ | | .+ + O.. | | o.+.=.. | +-----------------+