Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSH to Elastic Beanstalk instance as ROOT

Using SSH for an Elastic Beanstalk instance has become as easy as using eb ssh. But now I need root access to an environment file and I just can't figure out how I can access the instance as root?

like image 639
Xen_mar Avatar asked Feb 16 '26 20:02

Xen_mar


1 Answers

Once you get into the instance using eb ssh, then you can become root user simply by executing:

sudo su -
like image 180
Marcin Avatar answered Feb 18 '26 13:02

Marcin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!