1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Get actual ssh port

This commit is contained in:
Maniack Crudelis 2020-03-26 18:59:10 +01:00
parent 5ee2886daa
commit 7e6889fbae

View file

@ -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