After an upgrade is complete, then reload the linecard:
admin hw-module location 0/0/CPU0 reload
Release Notes
Version 7.0.1 and later
From Cisco IOS XR Software Release 7.0.1 and later, the SSH host-key pairs are auto-generated at the time of router boot up. Hence you need not perform steps 5 to 7 to generate the host keys explicitly. See, Automatic Generation of SSH Host-Key Pairs for details.