Unable to render {include} The included page could not be found. Setup mvn to work with your apache accountGenerate an authorised dsa/rsa keyLogon to $ ssh-keygen -t dsa Give it some file name eg OR Use $ ssh-keygen -t rsa -b 4096 The keys will be saved in
$ scp ~/.ssh/id_dsa.pub <your userid>@people.apache.org:. Login to people.apache.org $ ssh <your userid>@people.apache.org Create a $ mkdir ~/.ssh $ chmod 700 ~/.ssh Move or append $ mv ~/id_dsa.pub ~/.ssh/authorized_keys $ chmod 600 ~/.ssh/authorized_keys Update Maven settingsAt this point you should be able to ssh into In your maven <servers> <server> <id>apache.incubator</id> <username>antelder</username> <privateKey>file-path-of-private-key</privateKey> <passphrase>xxx</passphrase> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> <server> <id>me.people</id> <username>antelder</username> <privateKey>file-path-of-private-key</privateKey> <passphrase>xxx</passphrase> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> <server> <id>apache.snapshots</id> <username>antelder</username> <privateKey>file-path-of-private-key</privateKey> <passphrase>xxx</passphrase> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> <server> <id>apache.rsync</id> <username>antelder</username> <privateKey>file-path-of-private-key</privateKey> <passphrase>xxx</passphrase> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> </servers> Keep the ssh key and pass phrase safe and secure. Its a good idea to only add the key and passphrase to the settings.xml file while you're actually using it and delete form the file at other times. Also you MUST delete the private ssh key from your Apache directory once you've ftp'd it to your local machine. |