New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How to compile openssh


Post Reply New Thread Subscribe

 
Thread Tools
abl7635

 
Member Since: May 24, 2009
Posts: 11
abl7635 is on a distinguished road

abl7635 is offline
I'm interested in building openssh5.6p1 from source for mac osx 10.6 (intel). Reading about installation I see it has a few dependencies and optional depends too. Would not be surprised if special options/flags should be used during make configure process. I'm skeptical that just " tar -xvf opensshxxx cd opensshxxx make ./configure sudo make install" would work without issues.

I've spent some time distro hopping and have come to love the package managers such as apt-get, yum and now pacman on Arch Linux. I'm starting to become comfortable in cli environment although I'm still learning the ropes, editing configs and whatnot. The thing is I don't even know where to begin resolving dependencies, installing the dependencies or what options should be used and ensuring that sshd/ssh client as comes with the mac os does not get in the way.

A little guidance would be much appreciated. I'm really surprised I was unable to find a recent tutorial on how to install openssh on the mac platform as ssh is such a great tool. From what I understand I would need to compile zlib (lossless data compression? neat!) I don't know what the others do though.

EDIT: Found this pdf for building openssh portable for solaris. Helpful in that it explains what the optional depends are since I'm clueless. Kernel based entropy or PRNGD sound like useful additions. Not sure how tcp wrapper would fit into the picture. Sounds like hosts.allow and hosts.deny?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,620
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
OS X comes with OpenSSH (5.2p1 here on 10.6.4). Any reason you need 5.6p1?

If you do, I suggest you look at MacPorts. MacPorts is similar to the package managers for other *nix OSes and after a quick check here, OpenSSH 5.6p1 is available.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
abl7635

 
Member Since: May 24, 2009
Posts: 11
abl7635 is on a distinguished road

abl7635 is offline
I tried the macports deal earlier today. No go. Failed fetching xauth from what I recall. Tried fetching from a number of urls but all failed. I did "sudo port selfupdate" & "sudo port upgrade outdated" prior to "sudo port install openssh" so I'm not sure what the deal is.

My mac is currently at the office where I am an intern. I ssh to my ibm arch linux laptop at home to get around the firewall at work. It works, but I always get this error "tunnel failed" or something like that. The proxy works but I suspect that the encryption is not there? I can't figure out what it is. I have the allowtunnel set to yes in ~/.ssh/sshd_conf on the ibm and the same for client side in the .ssh/ssh_config on the mac at the office.

Edit: I just realized that I forgot to restart the sshd service. Gonna try that and see if the error goes away tomorrow at the office. Crosses fingers.

I was just hoping that this could serve as a decent learning experience as I still have so much to learn using cli tools. And also yeah I'm a bit nuts about having the current release of anything. That's why I have Arch Linux on the old IBM thinkpad =).
QUOTE Thanks

Post Reply New Thread Subscribe


« Looking for MAC developer | Installing bandwidth monitor NG »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Could someone please compile a program for me? nothing4me OS X - Operating System 0 06-04-2009 08:14 PM
Please help compile project _chaos_ OS X - Development and Darwin 1 07-17-2008 10:11 AM
Problem while trying to compile parser generator code through "yacc" or "bison" under KRISNA007 OS X - Development and Darwin 0 03-28-2008 08:19 PM
could some one compile something for me heavensent OS X - Development and Darwin 0 07-06-2007 03:55 AM
Is there any command to compile the vct file of visex shridhark Running Windows (or anything else) on your Mac 0 01-03-2006 09:27 AM

All times are GMT -4. The time now is 02:03 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?