Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Salman Waheed salmanwaheed

🎯
Focusing
Block or report user

Report or block salmanwaheed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@salmanwaheed
salmanwaheed / multiple_ssh_setting.md
Created Jun 21, 2017 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@salmanwaheed
salmanwaheed / php.ini
Created May 12, 2017
make php.ini file in wp-admin folder for wordpress to increase its performance
View php.ini
max_execution_time = 1800
max_input_time = 1800
upload_max_filesize = 200M
View SSH login without password
Generating the key pair:
--> ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Copying the public key you just created on your home computer for your SSH server
--> ssh-copy-id username@IP_ADDR_OR_DOMAIN
OR
--> cat ~/.ssh/id_rsa.pub | ssh -p 22 uusername@IP_ADDR_OR_DOMAIN "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
Now try to connect:
$ ssh username@IP_ADDR_OR_DOMAIN
You can’t perform that action at this time.