From a505626101e262be2cd5a8c74c44d3616c299519 Mon Sep 17 00:00:00 2001 From: Tar Committer Date: Wed, 23 Aug 2000 20:13:31 +0000 Subject: Imported from rancid-1.5.tar.gz. --- cloginrc.sample | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'cloginrc.sample') diff --git a/cloginrc.sample b/cloginrc.sample index 6b8f133..b8368a2 100644 --- a/cloginrc.sample +++ b/cloginrc.sample @@ -2,10 +2,15 @@ # currently clogin supports a number of add directives: # password # user +# userprompt # userpassword +# passprompt +# noenable # enauser +# enableprompt # autoenable # cyphertype +# identity # # Details on each of these follows. # @@ -14,10 +19,25 @@ # add user # The default user is $USER (i.e.: the user running clogin). # +# add userprompt +# What the router prints to prompt for the username. +# Default: "(Username|login):" +# # add userpassword # The password for user if different than the password set # using 'add password'. # +# add passprompt +# What the router prints to prompt for the password. +# Default: "\[Pp]assword:" +# +# add noenable +# equivalent of -noenable on the cmd line to not enable at login. +# +# add enableprompt +# What the router prints to prompt for the enable password. +# Default: "\[Pp]assword:" +# # add enauser # This is only needed if enable asks for a username and this # username is different from what user is set to. @@ -28,6 +48,11 @@ # add cyphertype # Default is 3des. # +# add identity +# Default is your default ssh identity. +# +# +# Note: The first match for a hostname takes precedence. #add password sl-bb*-dc cow24 #add password sl-gw*-dc geeks @@ -57,8 +82,17 @@ add password *.custy.net {vector} {victor} add user *.custz.net shirley add password *.custz.net {jive} {surely} +# the route-server's do provide enable access. cmdline -noenable equivalent. +add noenable route-server* 1 + # all our routers, ie: everything else add password * {clearance} {clarence} # set ssh encryption type, dflt: 3des add cyphertype * {3des} + +# set the username prompt to "router login:" +#add userprompt * router login: + +# ssh identity for a juniper; used with jlogin +add identity my.juniper $env(HOME)/.ssh/juniper -- cgit