diff --git a/src/applications/almanac/util/AlmanacKeys.php b/src/applications/almanac/util/AlmanacKeys.php index 7ed9098e97..6ed0f187c1 100644 --- a/src/applications/almanac/util/AlmanacKeys.php +++ b/src/applications/almanac/util/AlmanacKeys.php @@ -57,15 +57,6 @@ final class AlmanacKeys extends Phobject { } public static function getClusterSSHUser() { - // NOTE: When instancing, we currently use the SSH username to figure out - // which instance you are connecting to. We can't use the host name because - // we have no way to tell which host you think you're reaching: the SSH - // protocol does not have a mechanism like a "Host" header. - $username = PhabricatorEnv::getEnvConfig('cluster.instance'); - if (strlen($username)) { - return $username; - } - $username = PhabricatorEnv::getEnvConfig('diffusion.ssh-user'); if (strlen($username)) { return $username;