Page MenuHomePhabricator

D7675.id17332.diff
No OneTemporary

D7675.id17332.diff

Index: scripts/ssh/ssh-auth.php
===================================================================
--- scripts/ssh/ssh-auth.php
+++ scripts/ssh/ssh-auth.php
@@ -15,6 +15,11 @@
$user_dao->getTableName(),
$ssh_dao->getTableName());
+if (!$rows) {
+ echo pht("No keys found.")."\n";
+ exit(1);
+}
+
$bin = $root.'/bin/ssh-exec';
foreach ($rows as $row) {
$user = $row['userName'];

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 8:53 AM (23 m, 22 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927572
Default Alt Text
D7675.id17332.diff (394 B)

Event Timeline