Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

With svn+ssh is there a --password attribute?

Posted on 2007-12-02
1
Medium Priority
?
254 Views
Last Modified: 2012-08-14
Hello,

When using svn+ssh is there a way to add the password while running the "svn checkout" command? Currently from what I picked up we have to enter the password each time we checkout from the repository. This isn't much of a problem, however we have a PHP shell script that works with the HTTP protocol, however we want it change to work with svn+ssh for security. Problem is we don't want to be asked the password each time when running the command with the shell script.

Any information regarding the matter would be great.

Thank you
0
Comment
Question by:iamnatio
1 Comment
 
LVL 19

Accepted Solution

by:
SteveH_UK earned 2000 total points
ID: 20394135
I'm not sure about svn, but I am guessing that it uses the logged in user name.  The easiest way to solve your problem would be to use ssh keys to identify the user, using ssh-agent on linux and PuTTY Pageant on Windows.  Then no password is needed.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question