f



Pcl-cvs 1.66 and CVS over ssh (missing ssh-askpass)

I am just beginning to use a remote CVS installation via CVS.  In the past,
I have used a local CVS without difficulty using pcl-cvs.  Also, my remote
CVS works fine at the command line.  However, when I try to access the
remote repository, I get:

Repository       : :ext:sdavis@servername:/Volumes/Store1/cvsrep
Working directory: 
/Users/sdavis/Work/R-Programs/packages/devel/ExpressCGH/ExpressCGH/R/



Message: cvs [update aborted]: end of file from server (consult above
messages if any)
Message:  Parser Error: 'ssh_askpass: exec(/usr/libexec/ssh-askpass): No
such file or directory
'
Message:  Parser Error: 'Write failed: Broken pipe
'

--------------------- Empty ---------------------
-- last cmd: cvs -f update -d -P --


I am on MacOS and it appears that ssh-askpass does not exist on my system at
all (did a search).  Any other suggestions for how to cure this problem?

Thanks,
Sean

0
Sean
9/9/2005 11:46:12 AM
comp.emacs.xemacs 2750 articles. 0 followers. Post Follow

3 Replies
201 Views

Similar Articles

[PageSpeed] 28

>>>>> "Sean" == Sean Davis <sdavis2@mail.nih.gov> writes:

Sean> I am on MacOS and it appears that ssh-askpass does not exist on my
Sean> system at all (did a search).  Any other suggestions for how to cure
Sean> this problem?

The problem could be that ssh is trying to prompt for your passphrase but
failing because pcl-cvs is running cvs (and thus ssh) through a pipe rather
that through a pseudo-terminal.

If that's the case then have you considered using SSHKeychain
(http://www.sshkeychain.org/) to manage your passphrase?  I've used that
successfully in a similar environment.

Malcolm

-- 
		     Malcolm Purvis <malcolmp@xemacs.org>
0
Malcolm
9/9/2005 12:26:13 PM
On 9/9/05 8:26 AM, in article m2vf1ao2ai.fsf@silver.local, "Malcolm Purvis"
<malcolmp@xemacs.org> wrote:

>>>>>> "Sean" == Sean Davis <sdavis2@mail.nih.gov> writes:
> 
> Sean> I am on MacOS and it appears that ssh-askpass does not exist on my
> Sean> system at all (did a search).  Any other suggestions for how to cure
> Sean> this problem?
> 
> The problem could be that ssh is trying to prompt for your passphrase but
> failing because pcl-cvs is running cvs (and thus ssh) through a pipe rather
> that through a pseudo-terminal.
> 
> If that's the case then have you considered using SSHKeychain
> (http://www.sshkeychain.org/) to manage your passphrase?  I've used that
> successfully in a similar environment.

The problem, I think, is that there appears to be a need to get my password
for login to the remote machine (and I should have to give my password for
login).  I simply installed x11-ssh-askpass from here
(http://www.jmknoble.net/software/x11-ssh-askpass/) and put it in the place
that pcl-cvs was looking and everything works as expected.  I am prompted
for my password each time I do an update, etc.

Thanks for the help....

Sean
 

0
Sean
9/9/2005 1:10:21 PM
Sean Davis wrote:
> On 9/9/05 8:26 AM, in article m2vf1ao2ai.fsf@silver.local, "Malcolm Purvis"
> <malcolmp@xemacs.org> wrote:
> 
> 
>>>>>>>"Sean" == Sean Davis <sdavis2@mail.nih.gov> writes:
>>
>>Sean> I am on MacOS and it appears that ssh-askpass does not exist on my
>>Sean> system at all (did a search).  Any other suggestions for how to cure
>>Sean> this problem?
>>
>>The problem could be that ssh is trying to prompt for your passphrase but
>>failing because pcl-cvs is running cvs (and thus ssh) through a pipe rather
>>that through a pseudo-terminal.
>>
>>If that's the case then have you considered using SSHKeychain
>>(http://www.sshkeychain.org/) to manage your passphrase?  I've used that
>>successfully in a similar environment.
> 
> 
> The problem, I think, is that there appears to be a need to get my password
> for login to the remote machine (and I should have to give my password for
> login).  I simply installed x11-ssh-askpass from here
> (http://www.jmknoble.net/software/x11-ssh-askpass/) and put it in the place
> that pcl-cvs was looking and everything works as expected.  I am prompted
> for my password each time I do an update, etc.
> 
> Thanks for the help....
> 
> Sean
>  
> 
Sean,

you can use ssh-keygen to generate key that will let you ssh into a
remote machine without using your remote password.

To do this, assuming you are using a POSIX-machine,
run on your machine
mkdir ~/.ssh # create the ssh info dir
chmod u=rwx,go= ~/.ssh/ # protect it from prying eyes
ssh-keygen -t dsa ~/.ssh/id_pub # generate the key
# It will ask for a passphrase, this is to protect the
# key, and is separate from the password on the remote machine
# It can be empty for ease of use.

Copy the local
~/.ssh/id_dsa.pub
file to
~/.ssh/authorized_keys
on the remote machine. You should now be able to ssh (and cvs) into
the remote machine without using a password.

Be careful with this - I don't know if ssh will check if the key
belongs to the host that generated the key. If it does, it
is unlikely to work on machines that don't have permanent host names.


HTH,
Colin S. Miller

--
Replace the obvious in my email address with the first three letters 
of hostname to reply.
0
Colin
9/11/2005 4:00:01 PM
Reply:

Similar Artilces:

SSH and CVS over SSH Tunnel
Hi! I'm trying to get a somehow compicated setup to work. Up to now it worked from time to time but now i can't get it to work at all any more. This is my situation: Linux1 --- NAT Firewall dyn.IP --- Linux2 stat.IP --- Windows dyn.IP I want to access the Linux1 via SSH from my Windows PC. Therefore I dial in, send a mail to a POP account that gets checked by my Linux1 and if there's a mail Linux1 establishes two Remote SSH Tunnels to my Linux2 linux1% ssh -R 2401:localhost:2401 linux2 -R 2422:localhost:22 -N linux2 Therefore my Firewall estabishes a connection to my ISP. ...

ssh-cvs in emacs
I would like to use the ssh protocol with cvs, but don't want to allow shell logins on my server. I've not been able to allow ssh access to cvs without also allowing shell logins. Is that possible and if yes, how? And how do I set up emacs to use the ext protocol instead of pserver? I've currently got the following in my .emacs file (setq-default vc-default-back-end 'CVS) (setq-default vc-display-status t) (autoload 'cvs-update "pcl-cvs" nil t) (setq cvs-update-optional-flags '("-d :pserver:userx@serverx.xxx:/usr/local/cvsrepos")) Thanks, J...

SSH and CVS
Hi all. I have a problem. I would like to use CVS (Concurent Versioning System) in client/server mode, via SSH. The "servers" are Tru64 UNIX machines (irrelevant, for this matter) with either OpenSSH v3.8.1 or SSH2 v3.2.0 all with CVS 1.12.x installed. The "clients" are WinXP machines with either PuTTY v0.53 or SecureCRT v4.1.6 The CVS can use RSH for remote repositories, but any other RSH-like channel (SSH) can be used, as long as that user can login without being prompted for pass. Truth be said, I've managed to run CVS from one UNIX to another, with password...

ssh to ssh
I have the following scenerio: Remote PC with Xmanager small linux gateway, with sshd and ssh but no X software local host with sshd and X software I am trying to do the following from the remote PC: ssh -X (gateway addr. x.x.x.x "ssh -X (local host add 192.168.25.40) xterm" and it is failing. Please help if possible. Looking at the verbose output I see: OpenSSH_3.8.1p1, OpenSSL 0.9.7c 30 Sep 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to x.x.x.x [x.x.x.x] port 80. debug1: Connection established. debug1: ident...

SSH over SSH
Hi all, Our university network is accessed through a gateway machine, which accepts SSH connections and from which I can SSH onto other machines. I'm looking to write a program to make it easy for Mac OS X users to set up tunnels. Part of this involves storing passwords in the keychain. If I just want to forward a local port to the gateway machine, I can set SSH_ASKPASS to something suitable which looks in the keychain. However, if I want to forward a local port to another machine on my university network, i.e., another hop, I need to somehow have an SSH_ASKPASS utility on the gateway m...

cvs via ssh takes 100%cpu after ssh upgrade?!
hi, i recently upgraded my windos xp pro / cygwin environment to use ssh 4 (OpenSSH_4.1p1, OpenSSL 0.9.8 05 Jul 2005). now it appears as if cvs via ssh takes ages to check out files (100% cpu load, CVSROOT=:ext:jan@fra:/cygdrive/d/cvsroot_fra). setting the root direcly to my local drive runs perfectly fine (the above in fact resolves to that at home). cvs hasnt changed since almost a year: Concurrent Versions System (CVS) 1.11.17 (client/server) has anybody seen a similar behaviour? my ssh config looks like this: ############ Host * CheckHostIP no StrictHostKeyChecking no # Compression...

ssh / cvs
Hi Im want to use cvs with ssh. System is debian, 2.2.20-compact Kernel. I configured cvs as described in http://ioctl.org/unix/cvs/server (except "Further considerations"). Problem: I'm asked for a user password after authorisation with public-key (generated key without passphrase). Same problem occures when I try to login with ssh only. (no cvs involved) Here some debug: .... Sep 25 09:44:49 bastionhost sshd[1001]: Could not reverse map address 192.168.0.5. Sep 25 09:44:49 bastionhost sshd[1001]: debug1: PAM setting rhost to "192.168.0.5" .... Sep 25 09:44:49 bast...

ssh ssh
I am trying to write a script that takes a list of hosts and sshs into the first one and then can ssh to other ones. I can only ssh to the other hosts from the first host. Here is what I tried: I think it is waiting for the ssh to the first host to finish. I guess I could scp a partial hostlist and a program to *.domain and then run the program remotely. Am I on a right track? #!/bin/perl use strict; open( HL, '<hostlist3.txt' ) || die "can't open hostlist3"; #!/bin/perl use strict; open( HL, '<hostlist3.txt' ) || die "can't open hostlist3&qu...

SSH-1.99-OpenSSH_4.1 vs. SSH-1.99-OpenSSH_3.8.1.p1
Are there any known issues with SSH-1.99-OpenSSH_4.1, as with version SSH-1.99-OpenSSH_3.8.1.p1 I don't have to set keep alive parameter? I am not sure if this is related, I have a ksh script that calls a db2 pl stored procedure several times when it comes to certain iteration, it ends up hanging in the middle. I experienced this with an environment that has SSH-1.99-OpenSSH_4.1 but not with a different environment that has OpenSSH_3.8.1.p1. Thanks in advance ...

cvs import in pcl-cvs
hi all i use pcl-cvs for my cvs-access of existing projects. works fine. now i want to create a new cvs-project from local files (ie. i want to "import" sources to cvs). is there any emacs command for that? cheers, leo "Leo" <leo.broska@NOSPAM.isys.com.au> writes: > hi all > > i use pcl-cvs for my cvs-access of existing projects. works fine. > > now i want to create a new cvs-project from local files (ie. i want to > "import" sources to cvs). > > is there any emacs command for that? There is no feature to do that. Jus...

SSH-1.99-OpenSSH_4.1 vs. SSH-1.99-OpenSSH_3.8.1.p1 on AIX 5.3
Are there any known issues with SSH-1.99-OpenSSH_4.1, as with version SSH-1.99-OpenSSH_3.8.1.p1 I don't have to set keep alive parameter? I am not sure if this is related, I have a ksh script that calls a db2 pl stored procedure several times when it comes to certain iteration, it ends up hanging in the middle. I experienced this with an environment that has SSH-1.99-OpenSSH_4.1 but not with a different environment that has OpenSSH_3.8.1.p1. Thanks in advance ...

SSH-1.99-OpenSSH_4.1 vs. SSH-1.99-OpenSSH_3.8.1p1
Are there any known issues with SSH-1.99-OpenSSH_4.1, as with version SSH-1.99-OpenSSH_3.8.1.p1 I don't have to set keep alive parameter? I am not sure if this is related, I have a ksh script that calls a db2 pl stored procedure several times when it comes to certain iteration, it ends up hanging in the middle. I experienced this with an environment that has SSH-1.99-OpenSSH_4.1 but not with a different environment that has OpenSSH_3.8.1.p1. Thanks in advance RG wrote: > Are there any known issues with SSH-1.99-OpenSSH_4.1, as with version > SSH-1.99-OpenSSH_3.8.1.p1 I don...

pcl-cvs parser error on /etc/issue when using :ext:ssh
Hi All, I've been a long time user of pcl-cvs and love it dearly, however, I've recently had to migrate to using CVS via ssh to a host I have no control over. This host spits out a legal disclamer via the /etc/issue mechanism which causes pcl-cvs to barf: Parser Error: '' Parser Error: ' WARNING!!!' Parser Error: ' READ THIS BEFORE ATTEMPTING TO LOGON' Parser Error: '' Parser Error: 'This System is for authorized users only. Individuals' Parser Error: 'using this computer w...

Problem using Eclipse 2.1.1 CVS plugin with CVS 1.11.9 (repository displays empty)
We have recently upgraded our CVS server from 1.11.2 to 1.11.9. Our developers started complaining that the CVS plugin in Eclipse stopped working. They use Eclipse 2.1.1, and, though we don't get any errors, the CVS repository view in Eclipse appears empty (no directories show). I tried all i could think of, and nothing seems to fix this problem, and i'm surprised that i haven't been able to find any discussion of this on the Internet. Has anybody else here seen this? If so, do you know what causes it and if there is a workaround? What's frustrating me is that i ca...

Web resources about - Pcl-cvs 1.66 and CVS over ssh (missing ssh-askpass) - comp.emacs.xemacs

Hacker break-in at cPanel saw SSH trojans deployed
Hackers broke into cPanel.net's systems and used its technical support department as a entry point for installing trojanised OpenSSH and libkeyutils ...

Download New Planet Software Products
Navigate to: Home Search About us - Contact What's new! Download GitHub Software - Code Crusader - Code Medic - Code Mill - Subversion Client ...

Bugtraq: [USN-34-1] OpenSSH information leakage
===========================================================Ubuntu Security Notice USN-34-1 November 30, 2004openssh information leakageCAN-2 ...

Software developed by New Planet Software
Navigate to: Home Search About us - Contact What's new! Download GitHub Software - Code Crusader - Code Medic - Code Mill - Subversion Client ...

Resources last updated: 1/31/2016 8:49:07 PM