scp/sftp weirdness

Erich Weiler weiler at soe.ucsc.edu
Sat Jul 8 03:29:36 EST 2006


Hi Chris,

You are absolutely right, that fixes it.  I was able to recompile and 
install in the right place and all is well.  Thanks very much!

ciao, erich

Chris Rapier wrote:
> 
> 
> Erich Weiler wrote:
>> Hi Damien,
>>
>> Respectfully, I understand what you are saying but I'm not seeing it 
>> in practice.  I put the path to all the new SSH binaries in the very 
>> front of my PATH as such:
> 
> Right, the paths might be setup however you like but if I remember 
> correctly the binary has the preferred path to the binary built into it.
> 
> If you do a 'strings scp | grep \/' you'll end up seeing the the default 
> path to the binary.
> 
> For example, mine reports
> cuckoo:~/ssh/hpn12/openssh-4.3p2 rapier$ strings scp | grep \/
> /usr/local/bin/ssh
> %s/%s: name too long
> %s/%s
> /dev/null
> Couldn't open /dev/null: %s
> 
> So by default its looking in /usr/local/bin/ssh and even if I have ./ in 
> my path it doesn't matter because it will look in /usr/local/bin/ for 
> the binary.
> 
> What you can do to test things out is override the default using the '-S 
> /explicit/path/to/ssh/binary' command.
> 
> Good luck!

-- 
===================================
Erich Weiler
UNIX Systems Administrator
School of Engineering
University of California Santa Cruz
weiler at soe.ucsc.edu
===================================



More information about the openssh-unix-dev mailing list