Sign inSign up

dremer10/centos-ssh-systemd

By dremer10

Updated over 5 years ago

Image
0

124

dremer10/centos-ssh-systemd repository overview

This image has systemctl feature and openssh server feature all setup. All you have to do is

Step 1: docker pull dremer10/centos-ssh-systemd

Step 2: docker run --privileged --name centos-ssh-systemd -v /sys/fs/cgroup:/sys/fs/cgroup:rw -p 2222:22 -p 3306:3306 -p 8080:80 -d dremer10/centos-ssh-systemd

Step 3: ssh pos@localhost -p 2222 password is ol2432sn324231024113310

Next time on image running if you get error WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! then to solve the issue,

on your computer go to cd ~/.ssh/ and open known_hosts file. Remove the line [localhost]:2222 and save the file. Now try again to ssh into the container and all should go well ssh pos@localhost -p 2222

Tag summary

Content type

Image

Digest

Size

97.8 MB

Last updated

over 5 years ago

docker pull dremer10/centos-ssh-systemd