Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17713588
D18241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
551 B
Referenced Files
None
Subscribers
None
D18241.diff
View Options
diff --git a/scripts/ssh/ssh-connect.php b/scripts/ssh/ssh-connect.php
--- a/scripts/ssh/ssh-connect.php
+++ b/scripts/ssh/ssh-connect.php
@@ -53,6 +53,12 @@
$pattern[] = '-o';
$pattern[] = 'UserKnownHostsFile=/dev/null';
+// This suppresses the "Permanently added ... to the list of known hosts"
+// message, which is always output because we set `UserKnownHostsFile` to
+// `/dev/null`.
+$pattern[] = '-o';
+$pattern[] = 'LogLevel=ERROR';
+
$as_device = getenv('PHABRICATOR_AS_DEVICE');
$credential_phid = getenv('PHABRICATOR_CREDENTIAL');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 18, 2:20 PM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8505895
Default Alt Text
D18241.diff (551 B)
Attached To
Mode
D18241: Suppress "Permanently added ... to the list of known hosts" messages
Attached
Detach File
Event Timeline
Log In to Comment