blob: 6ae64d26ee9ffc50bf31ff533da416c7b21079c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/bash
set -o errexit
. config.sh
echo "Running ssh on the port $ssh_port"
echo "Create ssh tunnel and connect:"
echo " ssh -L $ssh_port:localhost:$ssh_port $(hostname)"
echo " and connect locally "
echo " ssh -p $ssh_port localhost"
podman run --name "ccpi-run" -it --rm $options -p ${ssh_port}:2222/tcp $volumes ${image} /usr/sbin/sshd -D -p 2222
|