Commit 0a12fd75 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Turn on ssh node option on main bed, when in admin mode.

parent 121c73c0
......@@ -87,7 +87,8 @@ if (TBHasSerialConsole($node_id)) {
#
# SSH to option.
#
if (! strcmp($OURDOMAIN, "mini.emulab.net") && isset($pid)) {
if (isset($pid) &&
($isadmin || !strcmp($OURDOMAIN, "mini.emulab.net"))) {
WRITESUBMENUBUTTON("SSH to node</a> ".
"<a href='docwrapper.php3?docname=ssh-mime.html'>".
"(howto)", "nodessh.php3?node_id=$node_id");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment