Skip to content

Commit 463b51f

Browse files
authored
Change to sshd -T -C "user=root" for backward compabilty
1 parent fc21bff commit 463b51f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-sshd-port

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ csv_list() {
5959
# Variable&Function #
6060
#----------------------------------------------------------#
6161

62-
ports=$(sshd -T | grep '^port'| cut -d ' ' -f2);
62+
ports=$(sshd -T -C "user=root" | grep '^port'| cut -d ' ' -f2);
6363

6464
# Listing data
6565
case $format in

0 commit comments

Comments
 (0)