flagship
Intern
Intern
  • UID5161
  • Fans0
  • Follows0
  • Posts1
Reads:1244Replies:4

ssh access to instance inside VPC

Created#
More Posted time:Feb 20, 2018 0:03 AM
I was wondering if Alibaba offered any kind of vpn access to instances inside a VPC using private ip address. I know you can access the instance vi the dashboard/console. How do you access the instance externally using your own ssh client? Do I need to setup an openvpn instance and then connect to that ? Thanks

hanneng
Assistant Engineer
Assistant Engineer
  • UID3277
  • Fans3
  • Follows0
  • Posts60
1st Reply#
Posted time:Feb 20, 2018 11:03 AM
HI

You can ssh to your ECS instance via public IP.

ThomasPoon
Intern
Intern
  • UID5194
  • Fans0
  • Follows0
  • Posts3
2nd Reply#
Posted time:Feb 20, 2018 16:43 PM
we provide VPN Gatway and the SSL VPN capabilities, you can contact to your BD/Solution Architects on how to make it work

abdulhafeez
Assistant Engineer
Assistant Engineer
  • UID4972
  • Fans4
  • Follows5
  • Posts48
3rd Reply#
Posted time:Feb 22, 2018 20:56 PM
You can use ssh to connect to any linux ECS

ssh root@pubilc-ip
Enter root password.

You can create other users inside Linux and use that user intead of root.

BrianBae
Assistant Engineer
Assistant Engineer
  • UID5909
  • Fans0
  • Follows0
  • Posts58
4Floor#
Posted time:Jul 10, 2018 16:20 PM
I think you use ssh key during connection.

Make public key and protect login with id, password.

You can read article of key login

https://www.howtoforge.com/ssh_key_based_logins_putty
Guest