Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[WIP] Support direct connectivity to cluster nodes and simplify SSH configuration #397
Conversation
Unifies the approach taken by the backup scripts (which doesn't get the hostname from the command-line), and restore (which do).
| @@ -75,7 +60,7 @@ for hostname in $hostnames; do | |||
|
|
|||
| # Transfer all data from the user data directory using rsync. | |||
| ghe-rsync -avz \ | |||
| -e "ssh -q $opts -p $port $ssh_config_file_opt -l $user" \ | |||
| -e "ghe-ssh" \ | |||
buckelij
Jun 11, 2018
Member
This is great ✨ . $port is currently derived from ssh_port_part, which returns port 22 by default. Switching this to ghe-ssh will prevent some cases where ghe-backup-pages (and some other scripts) try to connect to the wrong port.
This is great $port is currently derived from ssh_port_part, which returns port 22 by default. Switching this to ghe-ssh will prevent some cases where ghe-backup-pages (and some other scripts) try to connect to the wrong port.
Parent feature
github/ghes-infrastructure#376
This is a work in progress. Further details and tests to come...
/cc @github/backup-utils