Fitting Virtual Machines and Docker Images to your needs [ Part 4.1 ]
Hi there, there are no doubt that is very anoying use the console in the Virtual Machine and for this reason is very useful for us access the "remote" system using some ssh client like putty for example when we are using Windows operating system. And also is very common we face the message Permisson Denied or Remote host unreachable in this article we will solve this issue which is very common in a major of cases when using some downloaded appliance/image.
To solve this again I did some effort to make the tasks simple and easy to be acomplished. Sleave by sleave even our gramma can to that ??
So.... let me stop write text and start some fixes, It's show time!!!!!
Again:
Check/Install the Net-Tools package
First of all we need to try connect to remote system, if the connection doesn't were established we need to act on this issue. Instead of navigate to default install directory to double check if the net-tools resource is installled, we will execute a single command ifconfig and according to operating system response command not found we will run the command to install (by the way this resource also in a major of cases are not installed). Before install the package we need to read the content of repositories declared in the list (sources.list) or lists of address to install new Linux resources and also to update the operating system.
Very, Veryyyy Important: You should be careful on use the commands listed below to avoid the risk of crash all your environment:
领英推荐
Instead I suggest you to use aptitude safe-upgrade;
Step 1: Try the ssh connection, check the net-tools and install it
Step 2: Now we will check the ssh server service status and try connect using ssh service on default port 22
Until this point we have evolved good part to get done the ssh connection with our Virtual Machine or Docker image. In next video we will verify the configuration file for sshd.service and get the done the communication between the remote system to any client in your local network.
Please, if you have a few minutes and thought it is easy and simple as intended write your comments or just thumbs it up!
Thanks and stay tunned to next article!
Senior Software Development Engineer
8 个月Hello fellows, The final part was published: https://www.dhirubhai.net/pulse/final-fitting-virtual-machines-docker-images-your-needs-cardoso-ryokf/?trackingId=izr2BZfZKeAsvnX8P1lgdA%3D%3D