This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
- Check which git you're running:
which git
This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
which git
Login as root and create directory for mail server files to be created. Rename "mail.mailserver.com" for your mail server you're trying to connect to.
mkdir ~/mail.mailserver.com
cd ~/mail.mailserver.com
Get certificate file contents from mail server on port 995:
#!/bin/sh | |
# Backup linux server via rsync to remote backup NAS drive | |
# | |
# Run this from a root cronjob at whatever intervals you need | |
# | |
# example: | |
# # backup server at 4am | |
# 0 4 * * * sh /root/rsync_server_backup.sh > /dev/null; | |
# |
###Passwordless SSH logins with private key authentication
On local machine, create your ssh key files
Run ssh-keygen -t rsa
as your local user, and allow all defaults and no password. This will create your private key associated with your computer and a public key (~/.ssh/id_rsa.pub) file to be shared later.
Login to remote server and make sure RSA Authentication and Public Key Authentication is on
$ ssh user@remotehost