We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09cca48 commit d3e446fCopy full SHA for d3e446f
codespaces_create_and_start_containers.sh
@@ -48,7 +48,8 @@ start_container() {
48
# Function to check if SSH is ready on a container
49
check_ssh_ready() {
50
local container_ip="$1"
51
- timeout 1 ssh -o BatchMode=yes -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@${container_ip} exit 2>/dev/null
+ # Removed BatchMode=yes and added sshpass for password authentication
52
+ sshpass -p 'aim8Du7h' timeout 1 ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@${container_ip} exit 2>/dev/null
53
return $?
54
}
55
0 commit comments