summaryrefslogtreecommitdiffstats
path: root/cloginrc.sample
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
committerTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
commitb24aa5051db5d4bf9757efe7df06cb1892898382 (patch)
tree9cdcee7bb6f7780d08f94997af4f8232b5bd0417 /cloginrc.sample
parent42de2e53682c49b050f19fdbaaf68451ba487303 (diff)
downloadrancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.gz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.xz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.zip
Imported from rancid-1.4.tar.gz.rancid-1.4
Diffstat (limited to 'cloginrc.sample')
-rw-r--r--cloginrc.sample37
1 files changed, 33 insertions, 4 deletions
diff --git a/cloginrc.sample b/cloginrc.sample
index 71cd704..6b8f133 100644
--- a/cloginrc.sample
+++ b/cloginrc.sample
@@ -1,8 +1,34 @@
# comments are cool, as is whitespace
-# currently clogin supports three add directives; password, user, and
-# autoenable.
-# eventually, others may be added to allow other features.
-##
+# currently clogin supports a number of add directives:
+# password
+# user
+# userpassword
+# enauser
+# autoenable
+# cyphertype
+#
+# Details on each of these follows.
+#
+# add password <router name regexp> <vty passwd> <enable passwd>
+#
+# add user <router name regexp> <username>
+# The default user is $USER (i.e.: the user running clogin).
+#
+# add userpassword <router name regexp> <user password>
+# The password for user if different than the password set
+# using 'add password'.
+#
+# add enauser <router name regexp> <username>
+# This is only needed if enable asks for a username and this
+# username is different from what user is set to.
+#
+# add autoenable <router name regexp> <1/0>
+# This is used if you are automatically enabled by the login process.
+#
+# add cyphertype <router name regexp> <ssh encryption type>
+# Default is 3des.
+#
+
#add password sl-bb*-dc cow24
#add password sl-gw*-dc geeks
#add password sl* hank dog
@@ -33,3 +59,6 @@ add password *.custz.net {jive} {surely}
# all our routers, ie: everything else
add password * {clearance} {clarence}
+
+# set ssh encryption type, dflt: 3des
+add cyphertype * {3des}