Can I SSH to a playground from my local machine, or do I have use another playground?

I tried connecting to the playground using SSH from my Windows Terminal, but got “timed out”. Is it possible connect from my system ? what all the other alternative.

Thanks for helping.

It depends which playground you are using; the cloud playgrounds do support this kind of access; I believe some of the playground that we implement in our own lab environment may not. Which are you trying to use?

I was trying it in “Rocky Linux”. I am learning “Red Hat Certified System Administrator”, for which I need a playground.

Please let know If there better playground that I can opt for. Thank you.

You can’t ssh into the Rocky Linux playground, but if you create a web application, you can use the “View Port” feature of the playground (or any lab), which is in the ... menu on the upper right side of the window. I did the following, which works:

  • dnf install nginx
  • systemctl enable nginx
  • systemctl start nginx
  • curl localhost:80 (see that the web server is active)
  • Use the “View Port” menu item for port 80, which lets you see the nginx page in your browser window.

So the instance of Rocky is isolated from the net (mostly for safety) but it’s possible to set up things like web applications and other servers, and interact with them using the View Port feature.

1 Like