in reply to how to send input to stdin automatically?
You need to set the following environment variables (put them in your .profile or .bashrc) before you can run any cvs command:ssh-keygen -t dsa (accept the default for all queries) $ cat ~/.ssh/id_dsa.pub | ssh ${repository_host} "mkdir -p .ssh ; cat +>> .ssh/authorized_keys" (enter your password) $ ssh ${repository_host}echo (answer "yes") $ ssh ${repository_host} echo (Nothing should happen, you should just get your prompt back)
Hope that helps$ export CVS_RSH=ssh $ export CVSROOT=${username}@${repositry_host}:/path/to/cvsroot/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to send input to stdin automatically?
by skyworld_chen (Acolyte) on Dec 18, 2012 at 12:46 UTC |