canonical / canonical/cloud-init

[Hyper-V][Azure]ssh session will timeout for a short while for FreeBSD on Azure

Open
#2,927 2 comments 0 reactions 0 assignees View on GitHub
bug launchpad
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

This bug was originally filed in Launchpad as [LP: #1697635](https://bugs.launchpad.net/cloud-init/+bug/1697635)

Launchpad details

affected_projects = []

assignee = None
assignee_name = None
date_closed = None
date_created = 2017-06-13T08:41:02.139608+00:00
date_fix_committed = None
date_fix_released = None
id = 1697635
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1697635
milestone = None
owner = redriver
owner_name = Hongjiang Zhang
private = False
status = confirmed
submitter = redriver
submitter_name = Hongjiang Zhang
tags = ['freebsd']
duplicates = []

_Launchpad user **Hongjiang Zhang(redriver)** wrote on 2017-06-13T08:41:02.139608+00:00_

If we install cloud-init on a FreeBSD VHD which does not install waagent previously, and upload this VHD to Azure. It works fine for SSH connection. But after a short while (~5 seconds), the SSH session is broken.

The reason is cloud-init does not set "ClientAliveInterval" in /etc/ssh/sshd_config.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.