Tags:
create new tag
, view all tags
Just a short list of "sample" ssh, scp, rsync (later), and cvs commands, to help me keep the syntax straight.

Sources:

Add more on cvs from abiword.

export CVS_RSH=ssh 
export CVSROOT=loginname@cvs.yourproject.sourceforge.net:/cvsroot/yourproject 

(rsync is the most confusing, with the number of colons being significant.)

rsync <later>

ssh -l loginname yourproject.sourceforge.net

(Note, that's an "ell" standing for login name.)

scp localfile loginname@yourproject.sourceforge.net:/home/groups/y/yo/yourproject/htdocs/

(Remember that the command is bidirectional, scp <sourcefile> <destinationfile>)

-- RandyKramer - 20 Jul 2001

A good intro to SSH at SourceForge is available here.

If you get tired of typing in your SSH password the whole time, here's a secure way of avoiding this - see this article for how to use ssh-agent and ssh-add. This will require you to set up a DSA or RSA key on SourceForge - see their SSH docs for details, in particular this document on generating and uploading keys. You can upload your public keys using your personal page at SourceForge, https://sourceforge.net/my/ - takes up to 6 hours for the keys to propagate to the various CVS/shell servers.

The result is that you can type the pass phrase protecting your private key once, and then not type it again for every CVS operation. Just tested this with CygWin's OpenSSH and a local SSH server, and it works very nicely!

-- RichardDonkin - 25 Mar 2002

Topic revision: r2 - 2002-03-25 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.