scp/sftp weirdness
Erich Weiler
weiler at soe.ucsc.edu
Sat Jul 8 05:01:40 EST 2006
Again you're fantastic. Not sure how I could have missed that on google :)
Thanks again, erich
Chris Rapier wrote:
> I think you need to set the ssh-keysign binary to setuid root. Thats
> what I found with google anyway.
> http://itg.chem.indiana.edu/inc/wiki/software/openssh/189.html
> look under the debugging subheading.
>
> Oh, and obviously make sure the keys are in the right place.
>
> Good luck
>
>
> Erich Weiler wrote:
>>> 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.
>>
>> Actually I have one more quick question. ;) While ssh now works with
>> passwords, I have a problem with using public keys. When I try to log
>> into another box using public keys I get this:
>>
>> ghost% ssh hammer
>> could not open any host key
>> ssh_msg_send: write
>> ssh_keysign: couldn't send request
>> ghost%
>>
>> If I set the setuid bit on the 'ssh' binary it works. But I don't
>> want to set the setuid bit on the 'ssh' binary for security reasons as
>> it is owned by root. This seemed to work fine with an older version
>> of OpenSSH... Any idea as to what I may be doing wrong?
>>
>> ciao, erich
>> _______________________________________________
>> openssh-unix-dev mailing list
>> openssh-unix-dev at mindrot.org
>> http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
--
===================================
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