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?
posted by thelastenglishmajor to Computers & Internet (11 answers total) 1 user marked this as a favorite
 
Just grab it from the OpenSSH homepage.
posted by sonic meat machine at 2:24 PM on April 19, 2010


Instal macports, open the Terminal app, then:
sudo port selfupdate
sudo port install openssh
There 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


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


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


Oh hey, really appreciate it.
posted by thelastenglishmajor at 2:29 PM on April 19, 2010


(Now it’s complaining that it can’t find make.)
posted by thelastenglishmajor at 2:42 PM on April 19, 2010


You need to install the developer tools for make, I think.

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


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


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


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


« Older Help me piece together a complete Cometbus...   |   Lose fat; not muscle? Newer »
This thread is closed to new comments.