Bringing back a Mac ssh that’s been deleted?
April 19, 2010 2:18 PM Subscribe
The /usr/bin/ssh program on my work Mac got deleted. Without the install disc, how do I download and install a replacement so I can do shell stuff again?
Best answer: Instal macports, open the Terminal app, then:
posted by Blazecock Pileon at 2:25 PM on April 19, 2010
sudo port selfupdate sudo port install opensshThere may be dependencies for openssh. If so, you just sudo port install nameOfDependency to install them.
posted by Blazecock Pileon at 2:25 PM on April 19, 2010
Response by poster: Oh Ok, and that’ll compile and stuff? I think I tried it and got confused by the install procedure.
posted by thelastenglishmajor at 2:25 PM on April 19, 2010
posted by thelastenglishmajor at 2:25 PM on April 19, 2010
Sorry, I didn't think about it from a less technical perspective. Blazecock Pileon's suggestion is better—do it through the package management system.
posted by sonic meat machine at 2:28 PM on April 19, 2010
posted by sonic meat machine at 2:28 PM on April 19, 2010
Response by poster: Oh hey, really appreciate it.
posted by thelastenglishmajor at 2:29 PM on April 19, 2010
posted by thelastenglishmajor at 2:29 PM on April 19, 2010
Response by poster: (Now it’s complaining that it can’t find make.)
posted by thelastenglishmajor at 2:42 PM on April 19, 2010
posted by thelastenglishmajor at 2:42 PM on April 19, 2010
Best answer: You need to install the developer tools for make, I think.
XCode
posted by cromagnon at 2:54 PM on April 19, 2010
XCode
posted by cromagnon at 2:54 PM on April 19, 2010
You need to install the developer tools package in order to build and compile anything from source code.
posted by kenliu at 6:16 PM on April 19, 2010
posted by kenliu at 6:16 PM on April 19, 2010
Best answer: I guess this is resolved, but if it's not, I could probably just send you mine, if it's only the actual one file that's missing.
posted by !Jim at 6:53 PM on April 19, 2010
posted by !Jim at 6:53 PM on April 19, 2010
Response by poster: Ha ha yeah, I just went through all the above, setting up Xcode and all that stuff. I was surprised there wasn't just that one file floating around out there.
posted by thelastenglishmajor at 7:16 PM on April 19, 2010
posted by thelastenglishmajor at 7:16 PM on April 19, 2010
Just curious but....
"The /usr/bin/ssh program on my work Mac got deleted."
What's the backstory there?
posted by TravellingDen at 7:38 PM on April 19, 2010
"The /usr/bin/ssh program on my work Mac got deleted."
What's the backstory there?
posted by TravellingDen at 7:38 PM on April 19, 2010
This thread is closed to new comments.
posted by sonic meat machine at 2:24 PM on April 19, 2010