I have add an authentication method to openSSH, I call it ICCAuthentication,
much like RSAAuthentication, but the RSA private key is in the IC card.
I did not change any source code of scp. I mean scp.c.
I set all authentication methods to "no" in sshd_config but
ICCAuthentication yes.
ssh works very well with this authentication method. But scp is not good with
it.
scp always run_err() in the following context in scp.c:
void sink(argc, argv)
{
....
.....
if(first){
run_err("%s",cp);
exit(1);
}
......
......
}
That means that "first" is always true. What does "sink"
mean anyway ?
Why ?
Thanks.
__________________________________________
?????????????????????(http://mail.263.net/mmail/index.html)
????????95963??????????(http://www.263.net/0ji/StarDialer.exe)
????????????????(http://95963.263.net/)
??????????,????????(http://shopping.263.net/class004.htm)