How to get Leopard ssh agent to work if you previously used "SSH Agent" App

Hi Everyone,
I had previously been using the *SSH Agent* application from http://www.phil.uu.nl/~xges/ssh/ and wanted to get rid of it and use the built-in support for ssh-agent in Leopard.
However, it didn't work. Doing "env | grep SSH" it would show /tmp/501/nl.uu.phil.SSHAgent.socket and ssh'ing from a terminal window would request your passphrase every time. Executing ssh-agent would say "no agent is running." Even deleting the *SSH Agent* app and rebooting, it would still have this phil socket.
The solution is to use terminal, go to your home directory, cd to .MacOSX and look and see if there's an environment.plist file. In there will be some XML to set this persistent string for SSHAUTHSOCK. You need to take that out. If there's other stuff in the file, like a CVSHOME entry, hand-edit the XML to take out the SSHAUTHSOCK entry. (How to do that is beyond the scope of this post.) If the only thing is that entry, just delete the environment.plist file.
Afterwards, reboot, or maybe just log out and log back in, open a terminal window, and you should be able to ssh out and the system will start ssh-agent behind your back and find your .ssh/id_dsa file or whatever.
Karl

The man page for ssh-agent provides the following documentation:
-a bind_address
Bind the agent to the unix-domain socket bind_address. The
default is /tmp/ssh-XXXXXXXXXX/agent.<ppid>.
The system ssh-agent's startup arguments are in /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist so you could add something like the following to array that defines the ProgramArguments:
<string>-a</string>
<string>/whatever/the/path/is/that/you/want/to/have</string>
Note that since these mods are being done in /System, they could be wiped out by any system update. You could try making a copy of the file and putting the copy in /Library/LaunchAgents; perhaps files in that directory take precedence over files in /System. Certainly, stuff in /Library shouldn't be wiped out by a system update, though.

Similar Messages

  • How to get micro sd card to work

    how to get micro sd card to work.. my phone says total space 7.40GB for sSD card and that's whats available. I put a micro SD card in but no change?

    You put the card in and go to settings and go to storage and scroll down to sd card and click mount ad card

  • How to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    how to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    I think I got a little ahead of myself explaining my problem, so let me clarify...
    Only the one iMac is having the network file deletion problem, but it is included in the network user logon problem.  So 4 out of 5 of the iMacs have had or are having logon problems with network users accounts using mobile accounts on the systems.  2 of the 4 I have wiped and started over on and the other 2 have different network accounts being used by the primary system users.  The 5th iMac has not caused any problems except I forgot to mention that the USB on it seems flaky.
    So we are apparently full of problems. 

  • Does anyone know how to get an animated screen saver working

    Hi I have a imac desktop not even a year old.  Does anyone know how to get an animated screen saver working please. Its a gimp screen saver and is it safe to use on my mac? 

    Go to the website from where you got the screensaver from and read its system requirements and instructions for installation. 

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • HT203163 I appear to have transferred to the US store and cannot find out how to get back to the UK store- can you help ?

    I have managed to get into the US store and cannot work out how to get back to the UK store - can you help?

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region = Change Country / Region

  • I have updated to IOS 7.1 my music has disappeared and my boyfriend has put his iPod music onto my iPod those also were gone I'd like to know how to get it back if there is anything you can tell me to get my music to pop back up that would be great.

    I have updated to IOS 7.1 my music has disappeared and my boyfriend has put his iPod music onto my iPod those also were gone I'd like to know how to get it back if there is anything you can tell me to get my music to pop back up that would be great.

    You can only sync with one computer/iTunes library. If you sync with another iTunes library/computer the media from the iPod will be deleted and replaced with the media on the second computer.
    If you want to change syncing computers then:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • How to get the query result of improvement (Before and After ) using sql de

    how to get the query result of improvement (Before and After ) using sql developer.

    Check
    http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html

  • How to get the password of a password protected Excel Sheet using java/jxl

    Hi ,
    how to get the password of a password protected Excel Sheet using java / jxl program.
    plz any one help me .
    Ramesh P
    [email protected]

    If they've implemented the password system correctly there probably isn't a way of getting the password at all.

  • How to get the line in the template (smartform) with out using under score

    Hi,
         How to get the line in the template (smartform) with out using under score,
         and how to print the box (line the check box - small squre box (which is used ot mark the tick by the user in front of the item).
         Please provide the valueble answer as early as possible.
    Thanks,
    Ravi

    Hi Ravi,
    Line -
    Use a SMATSTYLE for this purpose.in the smartstyle create a paragraph or character with underline atribute.Then call the smartstyle in the text.
    Search SDN with Key <b>UNDERSCORE</b>.. will get few more posts on the same.
    For Checkbox - refer link
    Re: Quick Question on Smartforms
    Re: putting tick mark into check box in smartform
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • HT5361 I am unable to start or select the MAIL app. No incoming mail and no outgoing mail. I do not even know how to get an answer without email. Can you help?

    I am unable to start or select the MAIL app. No incoming mail and no outgoing mail. I do not even know how to get an answer without email. Can you help?

    Thank you Carolyn, How helpless you can feel without this App!
    Going into the App Store as you suggest, I see 'thee updates available", the first says, 'X RESTART', the second says, 'Garage Band, an error has occurred" (in red), and the third 'Memory Clean, UPDATE'.
    Am I correct in thinking that OSX is the problem, because it is waiting for a restart?
    Kind regards,
    Cy

  • How to get the kerning value and set it to back use script?

    hi,guys
    I come back again.
    I encountered a kerning problem.
    how to get the kerning value and set it to back use script?
    Thanks very much!

    For both cases, the filename can be found on the FILE.ReceivedFileName Context Property.  You can access this Property in a Pipeline Component or Orchestration and take any action you want, such as apply to a database.
    The value is accessed by: MyReceivedMessage(FILE.ReceivedFileName)
    In the case of a duplicate EDI Interchange, you would use the Failed Message Routing feature to capture the error message with either an Orchestration or Send Port.

  • I lost the little white balance dropper thingy and the option to change exposure and cannot figure out how to get them back! Help! Thank you!

    I lost the little white balance dropper thingy and the option to change exposure and cannot figure out how to get them back! Help! Thank you!

    Are you saying you've lost the "Basic" tool tab?
    If yes, just right-click on one of the other tabs and select "Basic" from the context menu that's presented.

  • Hello, i have a problem. My boyfriend has got an iPhone 3gs but we have a problem, we don't know how to get iMessage on his phone. Do you know how we could do ?

    Hello, i have a problem. My boyfriend has got an iPhone 3gs but we have a problem, we don't know how to get iMessage on his phone. Do you know how we could do ?

    Then you should have iMessage.  Go to Settings > Messages to turn it on and set your Receive At address.  Note that iMessage uses the Messages app... standard texts are gree, iMessages are blue.
    http://support.apple.com/kb/HT3529

Maybe you are looking for

  • ITunes continuous play check boxes and iPhone sync

    Hi  Here is my problem..if I want iTunes to play each songs on my library one after the other the check boxes have to be marked BUT if I synch my iPhone with iTunes I don't want to upload on it all of my songs then I check/uncheck only the albums I w

  • The attempt to burn a disc failed.  An unknown error occurred (4850).

    This happened out of nowhere. I just burnt an audio CD last week, as I do many times a week, and all of a sudden my iTunes cancels a burn within the first 15 seconds of every burn. I have tried numerous CD's, I have reinstalled the newest version, I

  • Can't download iCloud to my new PC

    When I try to download the iCloud control panel on PC it tells me that there was an interuption in the process & to try again.

  • DESCRIBE command

    Hi I am using oracle 10g and facing this problem. I want to overcome this problem. desc empName Null? Type empno not null number The name column is too long so that I have to move a cursor long time to right side. what changes should i made to displa

  • ITunes not seeing my iPhone4...

    This is prolly an old one, but here goes... Phone arrived yesterday, attempted so sync on MacBook pro (running Leopard), iTunes not seeing phone. Re-installed iTunes 9.2, everything fine. Today, attempting to do some more syncing, and, once again, iT