 Ryding was promoted to Captain there in 1863.In 1861–70 he served as a teacher of physics at the Higher Artillery School ("Högre artilleriläroverket") in Marieberg and in 1863–72 he also served as a teacher of artillery and handguns at the Royal Military Academy.Furhermore, Ryding was a teacher of mathematics and physics at the Pharmaceutical Institute ("Farmaceutiska institutet") from 1861 to 1875.