diff options
Diffstat (limited to 'cloginrc.sample')
-rw-r--r-- | cloginrc.sample | 34 |
1 files changed, 34 insertions, 0 deletions
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 <router name regexp> <username> # The default user is $USER (i.e.: the user running clogin). # +# add userprompt <router name regexp> <username prompt> +# What the router prints to prompt for the username. +# Default: "(Username|login):" +# # add userpassword <router name regexp> <user password> # The password for user if different than the password set # using 'add password'. # +# add passprompt <router name regexp> <password prompt> +# What the router prints to prompt for the password. +# Default: "\[Pp]assword:" +# +# add noenable <router name regexp> +# equivalent of -noenable on the cmd line to not enable at login. +# +# add enableprompt <router name regexp> <enable prompt> +# What the router prints to prompt for the enable password. +# Default: "\[Pp]assword:" +# # 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. @@ -28,6 +48,11 @@ # add cyphertype <router name regexp> <ssh encryption type> # Default is 3des. # +# add identity <router name regexp> <path to ssh identity file> +# 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 |