use gppkg with non-standard ssh port
search cancel

use gppkg with non-standard ssh port

book

Article ID: 439303

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Some users may want to non-standard ssh port for gppkg.

Environment

gpdb 7.x

Cause

By default, gppkg use the default ssh port (22) for internal communication. When end user want to use non-standard ssh port, change the sshd configuration is not enough, it still requires gppkg support the non-standard ssh port. 

Resolution

Currently only gppkg 2.2.6 provide the support for non-standard ssh port. After update the sshd config, add config to the /home/user_name/.ssh/ directory, it still requires gppkg 2.2.6, we can run "gppkg --version" to confirm the version. For this version, it requires gpdb 7.8.1.  Although the current document of gpdb 7.7.1 mentioned this feature, it's actually included in gpdb v7.8.1.

N/A
    Upgraded gppkg to version 2.2.6. This upgrade resolved an issue where gppkg could not connect to hosts using non-standard SSH ports. The tool now supports the -p or --port command-line argument to specify custom SSH ports, enabling package management operations in environments with non-standard SSH