I\'m using a EC2 server instance. Used the following to install Jenkins:
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add
Before installing jenkins, create a user named jenkins and set password there. Then after installing jenkins you can use the password you created.