You did everything correctly. I had the same problem. It appears there was an error in the instructions. The instructions should have read:
This will only work if the user is already logged into the remote site. To have the user automatically logged in, you can create a link of the form:
- [local_site] is the wwwroot of your local site (obviously)
- [remote_host_id] is the Moodle Network host id of the remote host (you can find it by going to Site Administration > Networking > Peers, clicking on the remote host, and looking at the "hostid" parameter in the URL
- [remote_url] is the URL of the page you want to send users to, relative to the remote host's wwwroot, but including an initial slash. For example, if you want to link tohttp://www.whateversitename.com/moodle/course/view.php?id=411, then [remote_url] should be set to "/course/view.php%3Fid=411". Note that the URL needs to be url-encoded.
The encoding for a question mark is %3F (not %35).