For some reason I couldn't log into a remote server after recreating my ssh keys and cleaning up my keychain on my system.
The error that kept coming up was
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
After searching around, I found this unanswered post
on Stack Exchange that lead me to the solution that worked for me:
First generate the key-pair on your Ubuntu machine.
After, copy the contents of the generated .pub file in your ssh folder (~/.ssh/id_rsa) and paste it to the username/.ssh/id_rsaauthorized_keys file, on a new line, on your CentOS for the specific user you are logging in with.
I couldn't find an exact example of my implementation to mount an AFP share over SSH on my Mac, especially when the share has spaces in the shared folder name. I had seen a couple posts on forums that mention url-encoding the spaces, but since I'm on the command line, I often think of escaping spaces with a backslash. Well it turns out that url-encoding a space with
makes it work and here's a little script I run to mount remote AFP shares:
umount "/Volumes/Share With Spaces In Folder Name" # unmount any stale shares
rmdir "/Volumes/Share With Spaces In Folder Name" # remove any stale sharepoints
pkill ssh -NfL 5548:127.0.0.1:548 email@example.com # kill any ssh sessions with specific port redirections
ssh -NfL 5548:127.0.0.1:548 firstname.lastname@example.org # ssh and port redirect into your remote system
mkdir "/Volumes/Share With Spaces In Folder Name" # create a new sharepoint
mount_afp afp://username:password@localhost:5548/Share%20With%20Spaces%20In%20Folder%20Name /Volumes/Share\ With\ Spaces\ In\ Folder\ Name
With this method I realize that my password is in the clear on the command, but since it's mounting on my system to a port that is tunneling ssh, the password is encrypted in the transmission request so therefor not technically transmitted in the clear across the internet.
It means that being equally good/average at everything is much better than being perfect at one thing and sucking at everything else. So don't worry it you're not perfect at something you do! Being okay is better!
I play with PHP contact forms a lot, but one thing to remember is that the PHP mail function is particular about strings being passed into it. Using double quotes has a different outcome versus using single quotes when using character escaped literals.
As a rule of thumb, use double quotes to retain escaped characters for quotation marks, line breaks, tabs, etc.
I made an update to some data and graphs for existing and new data regarding some of the intervention measurements made in the healthcare system in Ontario. The official press release excerpt is below.
As the province's advisor on health care quality, Health Quality Ontario (HQO) has released the 4th edition of its Ontario Health Technology Maps Project Report. This report is unique as it looks at the adoption of evidence-based medical and surgical procedures and laboratory tests that can be tracked through existing databases. It provides information to health care professionals on variations in care across the province, and changes needed to improve the quality of health care for Ontarians. The Maps Project Report is also designed to empower the public and stimulate educated discussion with their health care providers.
Read more: http://www.digitaljournal.com/pr/1877175#ixzz30DJRVQN5
Looking ahead to 2015, I've already started a new presentation dashboard that will be embedded directly within the framework of our website. Based on the past data collected, this new presentation will incorporate a streamlined interface which is not only useful on the web but also in print as well. Keep an eye on this area of the Health Quality Ontario website.
Not one, but two awards were won by the HQOntario.ca website. In addition to the prestigeous Summit Awards, the W³ Awards Silver Award honors creative excellence on the web, and recognizes the creative and marketing professionals behind award winning sites, videos and marketing programs. Simply put, the W³ is the first major web competition to be accessible to the biggest agencies, the smallest firms, and everyone in between. Small firms are as likely to win as Fortune 500 companies and international agencies.
The W³ is sanctioned and judged by the International Academy of the Visual Arts, an invitation-only body consisting of top-tier professionals from a "Who's Who" of acclaimed media, interactive, advertising, and marketing firms. IAVA members include executives from organizations such as AvatarLabs, Big Spaceship, Block Media, Conde Nast, Coach, Disney, The Ellen Degeneres Show, Estee Lauder, Fry Hammond Barr, Microsoft, MTV Networks, Polo Ralph Lauren, Sotheby's Institute of Art, Victoria's Secret, Wired, Yahoo! and many others.
I had a large hand to play in the development of the website, and I am so very happy to have received another award for the hard work I contributed to this project.
Health Quality Ontario was the recipient of the Silver Summit International Award in the Government Website category. Summit International Awards recognize "best in class" creative and communications excellence. HQO's site competed with over 5,000 submissions from 23 countries. I am very proud to have received this award; it is a reflection of the hard work and dedication I put towards designing and developing something useful and engaging for all citizens living in Ontario. I'd like to thank my colleagues at HQO for their patience and assistance with making this project what it is today.
If you haven't had a chance to check the website out, go here: