You mean you want to change the keyboard layout of the console of the machine from which you are launching the terminal; and do it before launching ssh connection; and have that modified keyboard layout have a special key to switch between to modes "us" and "german" ?
Well, by default there isn't any such setting; those layout switching are usually done between latin/non-latin layouts.
You could however take one of those existing settings (for example, the console layout definition for, say, greek keyboard), copy it under another name, edit it and change the greek letter definitions with whatever applies for your wanted "german" layout.
Then load that modified layout; and now you can switch between them.
If, on the other hand, you just want to change the layout for the duration of the whole ssh session; just call "loadkeys us" before launching ssh session, as totaam said; and "loadkeys de" after it.