Fix for the git ssh identity issue

# kill existing ssh-agents
pkill -9 -f ssh-agent

# restart ssh-agent
eval "$(ssh-agent -s)"

# add the ssh key to the agent
ssh-add ~/.ssh/id_gh_nagarajan

# test ssh connection
ssh -T

Move files on the web server to the nginx public folder

# cd to the right folder
cd dev/motleytechpy3

# copy files
git pull; sudo cp -r output/* /var/www/motleytech/html


comments powered by Disqus