* CVS password
@ 2002-09-26 9:08 Paulo J. Matos
0 siblings, 0 replies; 6+ messages in thread
From: Paulo J. Matos @ 2002-09-26 9:08 UTC (permalink / raw)
Hi all,
I'm using latest emacs on linux and when trying to send a file to
CVS using C-x C-q and after writing log message and pressing C-c
C-c I get:
usw-pr-cvs.sourceforge.net: Connection refused
cvs [commit aborted]: end of file from server (consult above messages if any)
I think it is not sending password because I can commit at the
prompt right away:
pdestroy@localhost:~/projects/catarina/src/fol$ cvs commit -m "Bug on OR elimination rule FIXED." nc.lisp
pdestroy@cvs.catarina.sourceforge.net's password:
Checking in nc.lisp;
/cvsroot/catarina/src/fol/nc.lisp,v <-- nc.lisp
new revision: 1.2; previous revision: 1.1
done
How can I let emacs know the pass for the CVS?
Best regards,
--
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
- > http://mega.ist.utl.pt/~pocm
---
Yes, God had a deadline...
So, He wrote it all in Lisp!
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.1033031442.18464.help-gnu-emacs@gnu.org>]
* Re: CVS password
[not found] <mailman.1033031442.18464.help-gnu-emacs@gnu.org>
@ 2002-09-26 9:50 ` Kai Großjohann
2002-09-26 19:51 ` Paulo J. Matos
[not found] ` <mailman.1033070125.31542.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 6+ messages in thread
From: Kai Großjohann @ 2002-09-26 9:50 UTC (permalink / raw)
pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
> How can I let emacs know the pass for the CVS?
I take it you are using ssh to access the remote repository. By using
private/public keys and the ssh-agent feature, you don't need to type
the password every time, it is sufficient to tell it once to the
ssh-agent.
This is more convenient and works around the current Emacs shortcoming.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS password
2002-09-26 9:50 ` Kai Großjohann
@ 2002-09-26 19:51 ` Paulo J. Matos
[not found] ` <mailman.1033070125.31542.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 6+ messages in thread
From: Paulo J. Matos @ 2002-09-26 19:51 UTC (permalink / raw)
> pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
>
> > How can I let emacs know the pass for the CVS?
>
> I take it you are using ssh to access the remote repository.
Indeed...
>By using
> private/public keys and the ssh-agent feature, you don't need to type
> the password every time, it is sufficient to tell it once to the
> ssh-agent.
How can I do that?
Even on the command line, when commiting a file I need always to
enter password for each commit.
>
> This is more convenient and works around the current Emacs shortcoming.
>
> kai
> --
> ~/.signature is: umop ap!sdn (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
- > http://mega.ist.utl.pt/~pocm
---
Yes, God had a deadline...
So, He wrote it all in Lisp!
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.1033070125.31542.help-gnu-emacs@gnu.org>]
* Re: CVS password
[not found] ` <mailman.1033070125.31542.help-gnu-emacs@gnu.org>
@ 2002-09-27 11:44 ` Kai Großjohann
2002-09-27 16:10 ` Richard V. Molen
0 siblings, 1 reply; 6+ messages in thread
From: Kai Großjohann @ 2002-09-27 11:44 UTC (permalink / raw)
pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
>> pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
>>
>> By using private/public keys and the ssh-agent feature, you don't
>> need to type the password every time, it is sufficient to tell it
>> once to the ssh-agent.
>
> How can I do that?
Well, this group is about Emacs, not about ssh. And I'm short on
time. So I suggest to read the man page on ssh-agent ("man
ssh-agent"). If that isn't sufficient info, I'm sure some other
group will help, or maybe someone else on this group.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS password
2002-09-27 11:44 ` Kai Großjohann
@ 2002-09-27 16:10 ` Richard V. Molen
2002-09-27 17:25 ` Kai Großjohann
0 siblings, 1 reply; 6+ messages in thread
From: Richard V. Molen @ 2002-09-27 16:10 UTC (permalink / raw)
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
>
> >> pocm@mega.ist.utl.pt (Paulo J. Matos) writes:
> >>
> >> By using private/public keys and the ssh-agent feature, you don't
> >> need to type the password every time, it is sufficient to tell it
> >> once to the ssh-agent.
> >
> > How can I do that?
>
> Well, this group is about Emacs, not about ssh. And I'm short on
> time. So I suggest to read the man page on ssh-agent ("man
> ssh-agent"). If that isn't sufficient info, I'm sure some other
> group will help, or maybe someone else on this group.
While Kai is right, I can feel your pain. First ssh-agent uses
passphrases, I don't know if this works with passwords. Here's how
I start ssh-agent from a bash prompt...
exec ssh-agent $SHELL
...this replaces your current bash session with the ssh-agent which in
turn spawns(?) a bash shell. Everything that is run from this new
shell have the benefit of not needing a passphrase. But before that
you need to run 'ssh-add' and enter the passphrase once. Then you
can, for example, run 'startx &' to start a GUI that needs no
passphrases.
Here's the FAQ... great place to start. Hope this helps.
http://www.employees.org/~satch/ssh/faq/ssh-faq-1.html
Richard V. Molen
Warning!!
Signature under construction, safety glasses required.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS password
2002-09-27 16:10 ` Richard V. Molen
@ 2002-09-27 17:25 ` Kai Großjohann
0 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2002-09-27 17:25 UTC (permalink / raw)
rvmolen@bambecksystems.com (Richard V. Molen) writes:
> exec ssh-agent $SHELL
You can also do, from ~/.xinitrc, something like
eval `ssh-agent -s`
Everything started from ~/.xinitrc after that will know about the
ssh-agent. (This only works if you shell is Bourne-ish. If you have
a csh-like shell, use -c instead of -s.)
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-09-27 17:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 9:08 CVS password Paulo J. Matos
[not found] <mailman.1033031442.18464.help-gnu-emacs@gnu.org>
2002-09-26 9:50 ` Kai Großjohann
2002-09-26 19:51 ` Paulo J. Matos
[not found] ` <mailman.1033070125.31542.help-gnu-emacs@gnu.org>
2002-09-27 11:44 ` Kai Großjohann
2002-09-27 16:10 ` Richard V. Molen
2002-09-27 17:25 ` Kai Großjohann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).