-
Remote Desktop MAC and wrong keyboard
Recently I upgraded to the remote desktop app from microsoft that is available in the app store. Previously I was using the 2.1.1 version which worked quite well but felt like changing anyway. Upon switching I noticed that some of my keys were not working as they should, in particular the @ key was coming up with ” and # was ? instead. In fact there were many keys that were not outputting correctly. It turns out that upon making a RDP connection from my MAC to a windows server, the RDP connection was incorrectly identifying my remote keyboard.
-
Simple Bash Automation for EC2 Instance Backups using Cron on a Mac Mini
The problem that needed to be solved was to have a simple backup system that could be used to maintain a bunch of EBS backed Windows instances on AWS. We wanted to keep a weeks worth of backups, always discarding the older AMI’s. A local mac mini was used to run the necessary scripts and cron. We didn’t want just EBS snapshots, we wanted a full AMI everyday. There are other solutions if you just want to backup an EBS drive on a schedule, and even for this but this one suits our needs.
-
How to change the default SSH port in OSX Server
So you don’t want to have your remote login port (ssh port) on your OSX server setup to port 22. You can easily change the listening port doing the following 2 steps. There is no need to add another service.
First you will need to edit your Lion Services file:sudo nano /etc/services
-
Open Directory Users on Lion Cannot Change Passwords
We recently ran into an issue with Open Directory Users on Apple’s OSX Lion. Users were not able to change their passwords using the web interface on a fresh install of Lion with Open Directory. The error we were receiving is below:
Read the rest of this entry »
-
FTP script to automate file transfers to remote server
Below you will find a FTP script that will allow you to automate your files transfers without requiring any user input. The only problem with this method is you will be putting a username and password into the script file, but having a simple automated FTP file upload or FTP file download probably outweighs the drawback.
So to describe what this script does:
First the script will tar and zip all files and folders in the /var/log/ folder to the home directory of the user who runs the script. This will create a dated zip file in the user’s home folder who ran the script. Then it will FTP the files to the remote host. You can then add the script to a cron job to execute it everyday, week, hour, etc.
Read the rest of this entry »