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:
parent
5ee2886daa
commit
7e6889fbae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue