Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- neil@nj-ubuntu:~$ juju ssh etcd/0
- Warning: Permanently added '54.172.153.97' (ECDSA) to the list of known hosts.
- Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)
- * Documentation: https://help.ubuntu.com/
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- *** System restart required ***
- The programs included with the Ubuntu system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- applicable law.
- To run a command as administrator (user "root"), use "sudo <command>".
- See "man sudo_root" for details.
- ubuntu@ip-172-31-56-224:~$ sudo ss -tnlp
- State Recv-Q Send-Q Local Address:Port Peer Address:Port
- LISTEN 0 128 *:22 *:* users:(("sshd",pid=1025,fd=3))
- LISTEN 0 128 172.31.56.224:7001 *:* users:(("etcd",pid=21935,fd=5))
- LISTEN 0 128 172.31.56.224:4001 *:* users:(("etcd",pid=21935,fd=7))
- LISTEN 0 128 127.0.0.1:4001 *:* users:(("etcd",pid=21935,fd=6))
- LISTEN 0 128 :::22 :::* users:(("sshd",pid=1025,fd=4))
- ubuntu@ip-172-31-56-224:~$ curl http://172.31.56.224:4001/version
- {"etcdserver":"2.2.5","etcdcluster":"2.2.0"}ubuntu@ip-172-31-56-224:~$
- ubuntu@ip-172-31-56-224:~$ curl https://172.31.56.224:4001/version
- curl: (35) gnutls_handshake() failed: An unexpected TLS packet was received.
- ubuntu@ip-172-31-56-224:~$ etcdctl ls /
- ubuntu@ip-172-31-56-224:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement