Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15402214
D21259.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
843 B
Referenced Files
None
Subscribers
None
D21259.diff
View Options
diff --git a/src/applications/almanac/util/AlmanacKeys.php b/src/applications/almanac/util/AlmanacKeys.php
--- a/src/applications/almanac/util/AlmanacKeys.php
+++ b/src/applications/almanac/util/AlmanacKeys.php
@@ -57,15 +57,6 @@
}
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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 9:24 PM (1 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710397
Default Alt Text
D21259.diff (843 B)
Attached To
Mode
D21259: Remove code which overrides "diffusion.ssh-username" when instanced
Attached
Detach File
Event Timeline
Log In to Comment