Random Notes

Random notes for future reference.

1.Unable to clone git repository. It displays “Permission Denied”.

Sol. Dont use sudo along with git. Also check the owner of the repo after cloning it.

2.Most of the sites don’t open in Ubuntu based distributions.

Sol. Do not use default connection manager. Use pppoeconf and setup your broadband authentication details.

Code:
sudo pppoeconf

3.Errors while trying to connect to EC2 machine

a.Permission Denied Public Key
Sol. Check if the username is correct. For ex: using ec2-user instead of ubuntu
b.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file test_dummy.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file test_dummy.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.7
Sol. 
http://askubuntu.com/questions/466549/bash-home-user-ssh-authorized-keys-no-such-file-or-directory.