mac instance ssh
Start an interactive session
mac instance ssh access to a instance via
$ mac ssh aau26ad38514c5uqtg22rr55pl The authenticity of host '22.214.171.124 (126.96.36.199)' can't be established. ECDSA key fingerprint is 0f:d9:8a:02:fe:a1:6e:07:e5:54:b9:31:a8:05:5c:8e. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '188.8.131.52' (ECDSA) to the list of known hosts. Welcome to Ubuntu 14.10 (GNU/Linux 3.16.0-28-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Sun Jan 18 21:36:22 EST 2015 System load: 0.38 Processes: 84 Usage of /: 9.4% of 19.56GB Users logged in: 0 Memory usage: 19% IP address for eth0: 184.108.40.206 Swap usage: 0% Graph this data and manage this system at: https://landscape.canonical.com/ Last login: Sun Jan 18 21:36:16 2015 from 220.127.116.11 root@mct-8e1:~#Execute the uptime command:
$ mac ssh 8u88v2ab3ssng6odakh4a6rrt2 -c uptime 20:40:09 up 15 min, 0 users, load average: 0.00, 0.04, 0.05
Note: The system will use the ssh credentials created with the instance. If the instance credentials changed, the system might not be able to connect to the instance.
Instance Name or Instance ID is required
- -c command: executes the command, prints the output and exit.