Opened 10 years ago

Last modified 9 years ago

#42861 new enhancement

Guide for replacing system ssh with MacPorts ssh

Reported by: davidfavor (David Favor) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), udbraumann
Port: ssh

Description

There are a variety of guides about this scattered around the net.

All (I've found so far) have various problems.

Let me know if there is a "MacPorts Guide" or ticket which covers the suggested way to completely circumvent the popup window AskPass nonsense + running the undocumented /usr/bin/ssh-agent -l command.

Thanks.

Change History (7)

comment:1 Changed 10 years ago by davidfavor (David Favor)

/opt/local/bin/ssh seems to restart /usr/bin/ssh-agent every time I run ssh.

So maybe the real question here is this...

Let me know how to make MacPorts ssh stop running /usr/bin/ssh-agent -l every time ssh runs.

Thanks.

comment:2 Changed 10 years ago by davidfavor (David Favor)

Looks like /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist must somehow be hacked for this.

comment:3 in reply to:  2 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Replying to david@…:

Looks like /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist must somehow be hacked for this.

Perhaps unchecking "Apple Menu -> System Preferences -> Sharing -> Remote Login" is all that is needed.

comment:4 Changed 10 years ago by davidfavor (David Favor)

Curious idea.

This is already unchecked in my environment.

Thanks for the tip though. I'll have to figure out exactly what this option does.

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Type: requestenhancement
Version: 2.2.1

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 9 years ago by udbraumann

Cc: braumann@… added

Cc Me!

Note: See TracTickets for help on using tickets.