I'm not sure if there is an easy way to automate this on the client side. There are some good tutorials here
http://www.google.com/search?hl=&cat...q=cvs+over+ssh but they all seem to assume an interactive client. If anyone has done it, please post a sample.