Mastodon

Bypass ssh key unlock prompt in mac os x

In Mac OS X, if you have a password protected ssh private key then every time you use this key to connect to a remote server, a password prompt will appear.  If you want to avoid this popup then pass the below option to ssh in the command line:

$ ssh -o AskPassGUI=no <serverToConnect>

If you dont want to mention this every time then you can also mention this in ssh_config file.

 

VirtualHosts in Lion

If you have trouble configuring VirtualHosts in Mac OS X Lion then try this which worked for me :-

Edit /etc/apache2/httpd.conf and append this line at very end of the file

NameVirtualHost *:80

Once saved, restart apache and your already configured virtual hosts should work smooth.