473,511 Members | 16,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to automate LinCVS ?

296 Contributor
Hello,

I am using Lincvs for version control of files.

I open Lincvs from the command prompt through the command "lincvs".
But for each action I have to enter password.


Is there a way to avoid entering password again and again?



I can also open lincvs from the menu but then it doesn't work and shows the following error when I fire an event -->

cmd: cvs -Q diff -N --side-by-side -t -W 500 "main.css"
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied (publickey,password,keyboard-interactive).

cvs [diff aborted]: end of file from server (consult above messages if any)
Feb 20 '07 #1
9 3457
Motoma
3,237 Recognized Expert Specialist
Hello,

I am using Lincvs for version control of files.

I open Lincvs from the command prompt through the command "lincvs".
But for each action I have to enter password.


Is there a way to avoid entering password again and again?



I can also open lincvs from the menu but then it doesn't work and shows the following error when I fire an event -->

cmd: cvs -Q diff -N --side-by-side -t -W 500 "main.css"
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Permission denied (publickey,password,keyboard-interactive).

cvs [diff aborted]: end of file from server (consult above messages if any)
Is the CVS repository located on another machine? Your machine?
It sounds like ssh does not have the fingerprint of the machine it is trying to connect to.
Feb 21 '07 #2
pankajit09
296 Contributor
Is the CVS repository located on another machine? Your machine?
It sounds like ssh does not have the fingerprint of the machine it is trying to connect to.

Its on another machine.
Feb 21 '07 #3
Motoma
3,237 Recognized Expert Specialist
Its on another machine.
Could you try something out for me? Connect to the machine directly via ssh. Accept the machine's fingerprint key.

Then try connecting using the menu button.
Feb 21 '07 #4
pankajit09
296 Contributor
Could you try something out for me? Connect to the machine directly via ssh. Accept the machine's fingerprint key.

Then try connecting using the menu button.
I connected to the machine by the command -->

ssh pan@192.168.60.200

Still the error is the same.
I think the LinCVS needs to be configured for "pan".

Which menu button are you talking ?
Feb 22 '07 #5
Motoma
3,237 Recognized Expert Specialist
Did you go through the software's documentation? At the bottom of the installation instructions, it mentions some things about creating ssh-askpass.
Feb 22 '07 #6
pankajit09
296 Contributor
Did you go through the software's documentation? At the bottom of the installation instructions, it mentions some things about creating ssh-askpass.
You mean this -->

If qmake fails on building ssh-askpass or rshwrapper, just search and comment the following few lines in the lincvs.pro file:

!mac:unix:CONFIG += ssh-askpass
!mac:unix:CONFIG += rsh-wrapper

with a # and repeat step 3 and further.

In this case you will need to compile ssh-askpass (This is only required on some systems that don't provide a ssh-askpass tool) and rshwrapper manually. To manually compile do:
$ cd LinCVS/contrib/ssh-askpass
$ qmake ssh-askpass.pro
$ make
$ cd ../rshwrapper
$ make
and copy both binaries into the LinCVS/Tools directory.
Feb 23 '07 #7
Motoma
3,237 Recognized Expert Specialist
Yes. From the looks of the error you are getting, you do not have the ssh-askpass program on your system.
Feb 23 '07 #8
pankajit09
296 Contributor
Yes. From the looks of the error you are getting, you do not have the ssh-askpass program on your system.
From the first post I think the problem is that a file is missing.

My environment variable has path as -->

$PATH = /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

and the ssh-askpass is present in /usr/lib/lincvs/ssh-askpass.

So do you think I have to change the $PATH variable ?
Feb 24 '07 #9
Motoma
3,237 Recognized Expert Specialist
From the first post I think the problem is that a file is missing.

My environment variable has path as -->

$PATH = /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

and the ssh-askpass is present in /usr/lib/lincvs/ssh-askpass.

So do you think I have to change the $PATH variable ?
You could try it, but by the error message, it may be hardcoded in to look in the /usr/bin directory. It may be easier just to symlink it there.
Feb 24 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4809
by: Kate Gibbs | last post by:
I need to write a simple utility in VB.NET that reads an Excel file, gets some data from a sheet, then...it needs to automate internet explorer in a robot manner. I know that Application Centre...
3
474
by: Brad Burke | last post by:
From a windows .Net app, I need to 1) check if MSAccess is already open to a certain Access application. If so, then open a form and find a certain record. 2) If not open, then open MSAccess and...
4
2400
by: Chris via AccessMonster.com | last post by:
I have the challenge of needing to automate table creation. It doesn't end there the tables have to be created from one table that looks something like this... Email ...
16
48827
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
2
2699
by: Phil Latio | last post by:
We have despatch process which kicks out picking information into text files at hourly intervals. The text files are named sequentially by process; 'ABC.txt', 'ABC01.txt', 'ABC02.txt' for one...
5
3828
by: James Johnson | last post by:
Dear C#dex, You can automate a POST and interrogate the resulting HTTP stream using code such as: HttpWebRequest hwreq = (HttpWebRequest)WebRequest.Create(url); hwreq.Method = "POST";...
11
8754
by: gert365 | last post by:
I'm working on a scirpt to be used on a windows machine and I need to automate a user's input on the command prompt. For example I'm using os.system('mycommand') to excute the commands I want. ...
9
9297
by: Ots | last post by:
I'm using SQL 2000, which is integrated with a VB.NET 2003 app. I have an Audit trigger that logs changes to tables. I want to apply this trigger to many different tables. It's the same trigger,...
2
1496
by: =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?= | last post by:
Is it possible to automate a COM object ebmeded in an excel document run the process and return the results in a C# .NET application? Or better yet extract the com object some how and just run it...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7418
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.