= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial GENI Inter-Aggregate Stitching Tutorial] = {{{ #!comment #!html
Image Map
}}} [[PageOutline]] = Appendix A = If you have not downloaded your keys from the portal then you should download them add them to the SSH agent. You can download the SSH keys from the profile tab in the GENI portal. == SSH to hosts and hostname info == There are multiple ways that you can get `ssh` and hostname information for your slice. In this appendix we are going to describe two ways: through the GENI portal and the `readyToLogin` script. [[Image(GENIExperimenter/Tutorials/Graphics:Symbols-Tips-icon.png,3%)]] If you are on a Windows computer use the GENI Portal method. For Mac OS and linux systems both methods are good. === GENI Portal === After you login to the GENI Portal find your slice and load it. After you do that press on the `Resource Details` button: [[Image(details.png,50%)]] This will load a new page with the information for all the hosts in the topology (scroll below the diagram for the second aggregate). The page will look like that: [[Image(details-info.png,50%)]] You can click on the SSH link to load a terminal. This will work on Mac OS and on Firefox browser with the FireSSH installed (independent of the operating system). In Linux you can copy and paste the SSH command to a terminal. === readyToLogin script === `readyToLogin` script is part of the Omni/gcf package. Open a terminal and run: {{{ readyToLogin MySlice --useSliceAggregates }}} The end of the output should look like: {{{ ================================================================================ LOGIN INFO for AM: https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0 ================================================================================ For more login info, see the section entitled: 'Providing a private key to ssh' in 'readyToLogin.py -h' left-client's geni_status is: ready (am_status:ready) User xuanliu logs in to left-client using: ssh -p 34106 -i /Users/xliu/.ssh/id_rsa xuanliu@pc1.instageni.gpolab.bbn.com ssh -p 34106 -i /Users/xliu/.ssh/geni_cert_portal_key xuanliu@pc1.instageni.gpolab.bbn.com server's geni_status is: ready (am_status:ready) User xuanliu logs in to server using: ssh -i /Users/xliu/.ssh/id_rsa xuanliu@pcvm1-20.instageni.gpolab.bbn.com ssh -i /Users/xliu/.ssh/geni_cert_portal_key xuanliu@pcvm1-20.instageni.gpolab.bbn.com NOTE: If your user is not listed, try using the --no-keys option. }}} You can copy and paste the ssh command to a terminal (for Linux or Max OS) or you can use the information from the command on any ssh client.