From 7e6889fbae6a4b3a3c821a427a083292b7b2aa99 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 26 Mar 2020 18:59:10 +0100 Subject: [PATCH] Get actual ssh port --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 467fe9f..2fd8061 100644 --- a/scripts/install +++ b/scripts/install @@ -218,7 +218,7 @@ if [ $with_sftp -eq 1 ] then sftp_infos="You can connect to this repository by using sftp with the following credentials. Domain: $domain -Port: 22 (or the port you defined if you change the ssh port) +Port: $(grep "^Port" /etc/ssh/sshd_config | awk '{print $2}') User: $user Password: The one you set at installation." else