Skip to content

Commit

Permalink
Support ssh listening over IPv6 address.
Browse files Browse the repository at this point in the history
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>

RB=2167911
G=lnos-reviewers
R=pchaudhary,pmao,rmolina,samaity,sfardeen,zxu
A=zxu
  • Loading branch information
samaity committed Jun 25, 2020
1 parent 8aa105d commit 53be488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ set /files/etc/ssh/sshd_config/#comment[following-sibling::*[1][self::ClientAliv
save
quit
EOF
# Configure sshd to listen for v4 connections; disable listening for v6 connections
sudo sed -i 's/^ListenAddress ::/#ListenAddress ::/' $FILESYSTEM_ROOT/etc/ssh/sshd_config
# Configure sshd to listen for v6 connections too along with listening for v4 connections
sudo sed -i 's/^#ListenAddress ::/ListenAddress ::/' $FILESYSTEM_ROOT/etc/ssh/sshd_config
sudo sed -i 's/^#ListenAddress 0.0.0.0/ListenAddress 0.0.0.0/' $FILESYSTEM_ROOT/etc/ssh/sshd_config

## Config sysctl
Expand Down

0 comments on commit 53be488

Please sign in to comment.