docker exec -it cp-docker-9.0 bash
cd /etc/ssh
vi start_ssh
#!/bin/bash
/etc/init.d/ssh start
vi /etc/profile.d/start_ssh.sh
export PATH="/etc/ssh:$PATH"
source /etc/profile
start_ssh
/etc/init.d/ssh status
/etc/init.d/ssh start
docker exec -it cp-docker-9.0 bash
cd /etc/ssh
vi start_ssh
#!/bin/bash
/etc/init.d/ssh start
vi /etc/profile.d/start_ssh.sh
export PATH="/etc/ssh:$PATH"
source /etc/profile
start_ssh
/etc/init.d/ssh status
/etc/init.d/ssh start