Re: MacCvs error!
"ntongoy" <[email protected]> Mon, 14 Jul 2008 04:34:00 -0000
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I followed your steps and when I tried to run my MacCvsX for update, I still have the same error: ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory Permission denied (publickey,gssapi-with-mic,password). cvsnt [update aborted]: end of file from server (consult above messages if any) :( --- In [email protected], Jens Miltner <jum@...> wrote: > > > Am 11.7.08 um 17:06 schrieb ntongoy: > > > I ran into an error installing the SSHKeyChain. It says: > > The following install step failed: run postinstall script for > > SSHKeyChain... > > > > I am a mac newbie. What do you think should I do with this error? > > > If you're running Leopard, forget about any 3rd party ssh-agent > utilities like SSHKeyChain - you won't need them. > > Instead, create an ssh key using > ssh-keygen -d > from the commandline prompt (i.e. in Terminal). > This will prompt you for a location to save (it suggests ~/.ssh/id_dsa > as the default location, which is perfectly fine and I assume you're > using this for now). > It will also prompt you for a passphrase to protect your key. > > Once it's finished, you'll have a private (id_dsa) and a public > (id_dsa.pub) key file in the location you specified (~/.ssh by default). > Next, you need to transfer the public keyfile to the remote machine > (DON'T TRANSFER YOUR PRIVATE KEY FILE), e.g. using > > cat .ssh/id_dsa.pub | ssh <username>@<host> 'cat - >> .ssh/ > authorized_keys' > > Verify that your keyfile is on the remote machine and recognized by > ssh'ing into the remote machine. You should now be prompted for your > passphrase if you chose to provide one when creating the key. > > If this works, the next step will be to stuff the passphrase in you > keychain using the command I mentioned before: > > ssh -i ~/.ssh/id_dsa j<username>@<host> > > Once done, verify that you can now ssh into the remote host without > having to enter your passphrase. > Once this works, you're fine to use ssh access from MacCvsX. > > HTH, > </jum> > > > > > > Thanks much! > > > > --- In [email protected], "ntongoy" <ntongoy@> wrote: > > > > > > I did what you said in the command line and i found out that my .ssh > > > directory only contain a "known_host" file. i dont have the id_dsa > > > file. it also didnt ask me for the ssh-key password. only my > > password > > > for the ssh server. or are they the same thing? > > > > > > I have to download the SSHKeychain. I will try this also. > > > > > > > > > --- In [email protected], Jens Miltner <jum@> wrote: > > > > > > > > > > > > Am 11.07.2008 um 13:37 schrieb ntongoy: > > > > > > > > > Yes, when I use the command line through terminal, it requires > > me > > > > > enter my password. > > > > > > > > > > Hmmmm.. can you walk me through with the steps on how to > > manage the > > > > > ssh-key and ssh-agent? > > > > > > > > > Did you read the tutorial at > > > > > <http://ormset.no/wordpress/2007/10/28/leopard-finally-supporting-ssh-agent-at-login > > > > > > > >? > > > > This is actually pretty well-explaining, IMHO. > > > > > > > > Anyway, it seems the essential step to put your ssh-key password > > into > > > > your keychain is to run ssh once with the -i option, e.g. > > > > > > > > ssh -i .ssh/id_dsa johndoe@ > > > > > > > > This will initiate the ssh section once, ask for the ssh-key > > password > > > > and store the password in the keychain. > > > > For any future ssh session to this host, the system ssh-agent will > > > > then be able to retrieve the password from your keychain. > > > > This is also what would make ssh connections in MacCvsX work, > > since > > > > you're no longer required to enter your password at > > > > the command prompt... > > > > > > > > HTH, > > > > </jum> > > > > > > > > > > > > > > > > > > > > > > > Thanks a lot! > > > > > > > > > > --- In [email protected], Jens Miltner <jum@> wrote: > > > > > > > > > > > > > > > > > > Am 11.07.2008 um 10:43 schrieb ntongoy: > > > > > > > > > > > > > Actually I installed MacCvsX 3.3b2-1. > > > > > > > > > > > > > > I only need to checkout modules from my server through ssh. > > The > > > > > wierd > > > > > > > thing though is that I can do it through the terminal. But > > when > > > > > I try > > > > > > > it in MacCvsX, the error is displayed. I cannot understand > > why. > > > > > > > > > > > > > > Any ideas why this is working in my terminal and not with > > MacCvsX? > > > > > > > > > > > > > > > > > > > When you checkout through Terminal, do you have to enter your > > > > > password? > > > > > > MacCvsX does not provide a way to enter passwords - you'll > > have to > > > > > > work with an shh-key. > > > > > > Also, if you ssh-key requires a password, you'll need to make > > sure > > > > > the > > > > > > Leopard ssh-agent is responsible and can actually retrieve > > the key > > > > > > from your keychain. > > > > > > > > > > > > Maybe this post will help getting things set up: > > > > > > > > > > <http://ormset.no/wordpress/2007/10/28/leopard-finally-supporting-ssh-agent-at-login/ > > > > > > > > > > > > > > > > > > > > > > > > HTH, > > > > > > </jum> > > > > > > > > > > > > > > > > > > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cvsgui/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/cvsgui/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/