{"id":206,"date":"2023-06-12T11:05:09","date_gmt":"2023-06-12T15:05:09","guid":{"rendered":"https:\/\/wwwdev.teach.cs.toronto.edu\/?page_id=206"},"modified":"2023-06-12T11:36:36","modified_gmt":"2023-06-12T15:36:36","slug":"remote-labs-rdp-over-ssh","status":"publish","type":"page","link":"https:\/\/wwwdev.teach.cs.toronto.edu\/using-labs\/remote-labs-rdp-over-ssh\/","title":{"rendered":"Remote Labs: RDP over SSH"},"content":{"rendered":"\n
RDP (Remote Desktop Protocol), invented by Microsoft, makes a workstation-style desktop available to a remote system. By default it is not secure, so we require that it be tunnelled over SSH.<\/p>\n\n\n\n
You will need a remote desktop client on your computer. For Windows 10, you can use Remote Desktop Connection, which is included in Windows. On MacOS, get Microsoft Remote Desktop from the Apple store. For Linux or UNIX variants, you can use To start an RDP session, or connect to an existing one:<\/p>\n\n\n\n You should now have a desktop session that looks more or less like a workstation in the labs. When you’re finished, log out in your usual way and your RDP client will exit; you can then terminate the ssh<\/em> session, or leave it running and use it again later. If RDP or ssh<\/em> exits when you didn’t want that (perhaps a network problem, perhaps your own computer rebooted), don’t worry; just reconnect, restarting the ssh<\/em> tunnel if necessary, and you will be reconnected to the same session, with everything as you left it.<\/p>\n\n\n\n If you have an older version of Windows that doesn’t include ssh<\/em>, or if you want to for some other reason, you can use RDP (Remote Desktop Protocol), invented by Microsoft, makes a workstation-style desktop available to a remote system. By default it is not secure, so we require that it be tunnelled over SSH. You will need a remote desktop client on your computer. For Windows 10, you can use Remote Desktop Connection, which is included in Windows. […]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":133,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":[],"_links":{"self":[{"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/pages\/206"}],"collection":[{"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":3,"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/pages\/206\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/pages\/206\/revisions\/239"}],"up":[{"embeddable":true,"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/pages\/133"}],"wp:attachment":[{"href":"https:\/\/wwwdev.teach.cs.toronto.edu\/wp-json\/wp\/v2\/media?parent=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}remmina<\/code> (with colour depth
GFX RFX<\/code>) or
rdesktop<\/code>, as supplied by your distribution.<\/p>\n\n\n\n
\n
cmd<\/code> (on Windows 10 1809 or later), and type
\u00a0\u00a0\u00a0\u00a0ssh<\/strong> myutorid<\/em>@rdp1.teach.cs.toronto.edu<\/strong> -L3388:localhost:3389<\/strong><\/code>
Myutorid<\/em> is your Teaching Labs name, usually the same as your UTORid. rdp2.teach.cs.toronto.edu<\/strong><\/code> works too; use that if
rdp1<\/strong><\/code> is overloaded or broken.<\/li>\n\n\n\n
localhost:3388<\/strong><\/code>. Log in using your Teaching Labs username and password.<\/li>\n<\/ol>\n\n\n\n
putty<\/code> instead:<\/p>\n\n\n\n
\n
rdp1.teach.cs.toronto.edu<\/strong><\/code>.<\/li>\n\n\n\n
Open<\/code>, go to
SSH > Auth > Tunnels<\/code> (at the lower left) and put
3338<\/strong><\/code> in the
Source port<\/code> field and
localhost:3389<\/strong><\/code> in
Destination<\/code>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"