NEW YORK — An alleged al-Qaida member who was snatched off the streets in Libya and interrogated for a week aboard an American warship pleaded not guilty to bombing-related charges Tuesday in a case that has renewed the debate over how quickly terrorism suspects should be turned over to the U.S. courts.

Despite calls from Republicans in Congress to send him to Guantanamo Bay for indefinite interrogation, Abu Anas al-Libi, also known as Nazih Abdul-Hamed al-Ruqai, became the latest alleged terrorist to face civilian prosecution in federal court in New York, the scene of several such convictions.

The defendant, wearing a thick gray beard, looked frail and moved slowly as he was led into the heavily guarded courtroom in handcuffs. An attorney said he had come to court from a New York hospital, where he was treated for three days for hepatitis C and swollen limbs.

The 49-year-old Libyan was captured by American commandos during an Oct. 5 military raid in the North African country and questioned for a week aboard the USS San Antonio. He was indicted more than a decade ago in the twin 1998 bombings at the U.S. embassies in Kenya and Tanzania that killed 224 people, including a dozen Americans. If convicted, he could get life behind bars.

Known as one of al-Qaida’s early computer experts, he is accused of helping plan and conduct surveillance for the attacks. The defendant kept his hands folded on his lap as the judge read the charges in a courtroom secured by about a dozen deputy U.S. marshals. The judge ordered him detained after a federal prosecutor called him a “clear danger.”

Republicans stepped up their criticism of Obama for his administration’s handling of the defendant, saying he should have been sent to the American prison at Guantanamo Bay for more interrogation instead of being taken to the U.S. and given access to civilian courts and the legal protections they provide.

“He was a treasure trove of information,” said Sen. Lindsey Graham of South Carolina.

“The most dangerous thing we could do as a nation is to treat a captured al-Qaida terrorist as a common criminal, read them their Miranda rights and put them in civilian court before we have a chance to gather intelligence.”

New York Republican Rep. Peter King, a member of the House Intelligence Committee, said: “The real issue is the intelligence. Once he gets a lawyer, he holds the cards. ... Put it this way: Now he decides whether he will talk.”