There is nothing wrong with those methods except the first one takes quite some time and the second method is not foolproof to say the least.Read More???Feed Like Follow Follow AdvertisementSuggested Tuts+ CourseSSH For Newbs$15AdvertisementTeaching skills to millions worldwide.19,557Tutorials527Video CoursesFollow UsHelp and SupportFAQTerms of UseContact SupportAbout Tuts+AdvertiseTeach at Tuts+E