Most simple way is by using MacPorts:
$ sudo port install openssh +ssh-copy-idThat's it! And you ready to use it :)
$ sudo port install openssh +ssh-copy-idThat's it! And you ready to use it :)
crontab: temp file must be edited in placeThen the solution is very simple. You just need to create ~/.vim/ftplugin/crontab.vim and add this one line:
set backupcopy=yesSave the file and you can try to add cron entry again.
XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. q205mb46565077wmb']. Data: MFNB2 AUTHENTICATE XOAUTH2
auth_mechanisms = LOGIN
$ sudo vim.tiny /etc/network/interfacesYou'll see few lines of basic configuration:
auto loiface lo inet loopbackiface eth0 inet dhcp
allow-hotplug wlan0iface wlan0 inet dhcpwpa-conf /etc/wpa_supplicant/wpa_supplicant.confiface default inet dhcp
$ sudo vim.tiny /etc/wpa_supplicant/wpa_supplicant.confJust copy and paste below script inside that file:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1network={ssid="YOURSSID"psk="YOURPASSWORD"
# Protocol type can be: RSN (for WP2) and WPA (for WPA1)proto=WPA
# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise)key_mgmt=WPA-PSK
# Pairwise can be CCMP or TKIP (for WPA2 or WPA1)pairwise=TKIP
#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP)auth_alg=OPEN
}Change ssid, psk, proto, key_mgmt, pairwise and auth_alg according to your wireless router setup.
$ sudo reboot7. Upon booting, unplug ethernet cable and try to access your Pi via wireless connection (check the IP from your wireless router DHCP client list)
$ sudo port install abook
set query_command = "abook --mutt-query '%s'"macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"A little explanation for above script:
$ sudo bash5. Type in your password
# mkdir -p ~/rpi/backups7. Check where your SD card is listed (e.g.: mine is listed as /dev/disk2s1)
# cd ~/rpi/backups
# df -h8. Eject your SD card:
# diskutil unmountDisk /dev/disk2s19. Backup your SD card to image file: (please note that you have to add 'r' before 'disk')
# dd if=/dev/rdisk2 of=~/rpi/backups/backup-today-rpi.img bs=1M10. When complete: (again, add 'r' before 'disk')
# diskutil eject /dev/rdisk2
# df -h3. Eject your SD card:
# diskutil unmountDisk /dev/disk2s14. Restore your image to new SD card:
# dd bs=1M if=~/rpi/backups/backup-today-rpi.img of=/dev/rdisk25. When complete:
# diskutil eject /dev/rdisk2
$ sudo raspi-config3. Choose 'Expand Filesystem"