Commit 4f974d7d authored by Bo-Chun Chen's avatar Bo-Chun Chen

Add ssh and IP explanation

parent 33423315
......@@ -97,3 +97,21 @@ openstack server add floating ip louis-vm1 $floatingipflatexternalnet
```shell
openstack security group rule create --protocol tcp --dst-port 22 default
```
- ssh into VM
When ssh into VMs, you will need the last octet of your floating IP.
For example, if you are assigned a floating IP 192.168.16.***158***, the IP address you will use for ssh will be: 164.111.161.***158***
```shell
# Default user for login is different depends on distribution.
# CentOS
ssh centos@164.111.161.158
# Debian
ssh admin@164.111.161.158
# Ubuntu
ssh ubuntu@164.111.161.158
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment