ssh percent_expand: NULL replacement

Troy Telford ttelford.groups at
Thu Nov 1 12:03:55 PDT 2007

You're not the first with this problem.

There is a ticket filed in the MacPorts database:

The following is shamelessly pulled from an earlier posting (courtesy  
of jptix, whom gives credit to Allan Odgaard.):

The solution to this problem is to use the -i flag when connecting to  

ssh user at host -i ~/.ssh/id_dsa

You can also make this permanent for all servers by adding this line  
to your

IdentityFile ~/.ssh/id_dsa

On Nov 1, 2007, at 10:38 AM, Kendall Shaw wrote:

> I've upgraded to leopard on my G4 powerbook, and installed openssh.  
> If I run ssh from macports I get an error: "percent_expand: NULL  
> replacement". /usr/bin/ssh still works though. Do any have any idea  
> what could be causing the error?
> Incidentally, the reason why I'm installing openssh is that I'm  
> having a problem where X windows over ssh disconnect if I don't  
> interact with them within some amount of time. That used to happen  
> to me and then stopped at some point. I was guessing that it may  
> have been that I had installed openssh from macports previously  
> under Tiger and that that had changed that behavior.
> _______________________________________________
> macports-users mailing list
> macports-users at

Troy Telford
ttelford.groups at

More information about the macports-users mailing list