1
1

session: Initialize the port with the standard port (22)

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit f306aafdc6a6730538ca10a510fe3bd18714342c)
Этот коммит содержится в:
Andreas Schneider 2022-08-29 10:05:22 +02:00 коммит произвёл Jakub Jelen
родитель 3ad2a21d13
Коммит d26f7253a9

Просмотреть файл

@ -104,7 +104,7 @@ ssh_session ssh_new(void)
/* OPTIONS */
session->opts.StrictHostKeyChecking = 1;
session->opts.port = 0;
session->opts.port = 22;
session->opts.fd = -1;
session->opts.compressionlevel = 7;
session->opts.nodelay = 0;