777 | | sh (the default Bourne shell in FreeBSD) supports command-line editing. Just |
778 | | ``set -o emacs'' or ``set -o vi'' to enable it. |
779 | | |
780 | | [lnevers@ops ~]$ ssh boss |
781 | | |
782 | | |
783 | | ???? |
784 | | hostname |
785 | | |
| 786 | Any user that is a member of the wheel group can use "su -" to simulate |
| 787 | a root login. You can add a user to the wheel group by editing /etc/group. |
| 788 | -- Konstantinos Konstantinidis <kkonstan@duth.gr> |
| 789 | > hostname |
| 790 | ops.instageni.northwestern.edu |
| 791 | > ssh boss |
| 792 | Last login: Tue Feb 19 10:58:35 2013 from ops.instageni.northwestern.edu |
| 793 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 794 | |
| 795 | Welcome to FreeBSD! |
| 796 | |
| 797 | In tcsh, you can `set autolist' to have the shell automatically show |
| 798 | all the possible matches when doing filename/directory expansion. |
| 799 | > hostname |
| 800 | boss.instageni.northwestern.edu |
| 801 | > |
789 | | |
790 | | }}} |
| 805 | [lnevers@boss ~]$ for i in pc1 pc2; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 806 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.northwestern.edu |
| 807 | root |
| 808 | Linux vhost1.shared-nodes.emulab-ops.instageni.northwestern.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 809 | |
| 810 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.northwestern.edu |
| 811 | root |
| 812 | Linux vhost2.shared-nodes.emulab-ops.instageni.northwestern.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 813 | |
| 814 | [lnevers@boss ~]$ |
| 815 | |
| 816 | }}} |
| 817 | |
| 818 | In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture two raw-pc nodes were in use (pc3 and pc5): |
| 819 | {{{ |
| 820 | [lnevers@boss ~]$ sudo ssh pc3 |
| 821 | [root@pc3 ~]# sudo whoami |
| 822 | root |
| 823 | [root@pc3 ~]# exit |
| 824 | logout |
| 825 | Connection to pc3.instageni.northwestern.edu closed. |
| 826 | [lnevers@boss ~]$ sudo ssh pc5 |
| 827 | [root@pc ~]# sudo whoami |
| 828 | root |
| 829 | [root@pc ~]# |
| 830 | }}} |
| 831 | |
| 832 | Access infrastructure Switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 833 | {{{ |
| 834 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 835 | XXXXXXXXX |
| 836 | [lnevers@boss ~]$ telnet procurve1 |
| 837 | Trying 10.1.1.253... |
| 838 | Connected to procurve1. |
| 839 | Escape character is '^]'. |
| 840 | |
| 841 | HP J9623A E2620-24 Switch |
| 842 | Software revision RA.15.05.0006 |
| 843 | |
| 844 | Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P. |
| 845 | |
| 846 | RESTRICTED RIGHTS LEGEND |
| 847 | Confidential computer software. Valid license from HP required for possession, |
| 848 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 849 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 850 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 851 | license. |
| 852 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 853 | 20555 State Highway 249, Houston, TX 77070 |
| 854 | |
| 855 | We'd like to keep you up to date about: |
| 856 | * Software feature updates |
| 857 | * New product announcements |
| 858 | * Special events |
| 859 | Please register your products now at: www.hp.com/networking/register |
| 860 | |
| 861 | Password: |
| 862 | |
| 863 | ProCurve Switch 2620# show running-config |
| 864 | |
| 865 | Running configuration: |
| 866 | |
| 867 | ; J9623A Configuration Editor; Created on release #RA.15.05.0006 |
| 868 | ; Ver #01:01:00 |
| 869 | |
| 870 | hostname "ProCurve Switch 2620" |
| 871 | no cdp run |
| 872 | ip default-gateway 10.1.1.254 |
| 873 | vlan 1 |
| 874 | name "DEFAULT_VLAN" |
| 875 | untagged 1-22,25-28 |
| 876 | ip address 10.254.254.253 255.255.255.0 |
| 877 | no untagged 23-24 |
| 878 | ip igmp |
| 879 | exit |
| 880 | vlan 11 |
| 881 | name "control-alternate" |
| 882 | untagged 24 |
| 883 | ip address 10.2.1.253 255.255.255.0 |
| 884 | exit |
| 885 | vlan 10 |
| 886 | name "control-hardware" |
| 887 | ip address 10.1.1.253 255.255.255.0 |
| 888 | exit |
| 889 | no lldp run |
| 890 | no web-management |
| 891 | snmp-server community "xxxxxx" unrestricted |
| 892 | no snmp-server enable |
| 893 | management-vlan 10 |
| 894 | no dhcp config-file-update |
| 895 | password xxxxxx |
| 896 | password xxxxxx |
| 897 | |
| 898 | |