#Usernames for diff. amazon machines
    Amazon Linux - ec2-user
    RHEL5 - root / ec2-user
    Ubuntu - ubuntu
    Fedora - fedora / ec2-user
    SUSE Linux - root / ec2-user

#Change permission on .pem file
chmod 400 msys-aws-nvirginia-analytics.pem

#Connecting to Amazon EC2 instance using SSH
    #using public DNS
    ssh -i msys-aws-nvirginia-analytics.pem [email protected]

	#using public ip
    ssh -i msys-aws-analytics.pem [email protected]
    
#Transfer files to EC2    
	#using public DNS
    scp -i /path/my-key-pair.pem SampleFile.txt [email protected]:~
	
    #using public ip
    scp -i msys-aws-analytics.pem SampleFile.txt [email protected]:~