This repository stores community-submitted connection templates for use with rConfig, including templates for SSH, Telnet, and Script-based device integrations.
- 📚 Documentation: Script Integration Engine (SIE)
- 🤝 Submit or browse templates: rConfig-templates GitHub
Each template must reside in a directory named after the device vendor:
/cisco/cisco-ios-ssh-enable.yml
/hp/hp-procurve-telnet-noenable.yml
File naming format:
vendorName-modelName-connectionType-enableMode.yml
Example:
cisco-ios-ssh-enable.yml
hp-1920-telnet-noenable.yml
Each template must start with the following docblock:
# rConfig connection template – DO NOT EDIT DIRECTLY
## Template Notes:
## - All free text values must be wrapped in double quotes: " "
## - Documentation: https://docs.rconfig.com/integrations/script-integration-engine/sie/
## - Community templates and contributions: https://github.com/rconfig/rConfig-templatesDefines the template's label and a brief description.
main:
name: "Cisco IOS - SSH - Enable"
desc: "Cisco IOS SSH based connection with enable mode"Defines how rConfig connects to the device.
connect:
timeout: 60 # Seconds until connection timeout
protocol: ssh # Protocol (ssh | telnet | script)
port: 22 # Port number (1-65535)
isNonInteractiveMode: true # (Optional) Set true for non-interactive SSHDefines authentication and optional elevation behavior.
auth:
username: "Username:" # Username prompt
password: "Password:" # Password prompt
enable: on # Enable mode: on | off
enableCmd: "enable" # Command to enter enable mode
enablePassPrmpt: "Password:" # Enable password prompt
hpAnyKeyStatus: off # Required for some HP devices
hpAnyKeyPrmpt: "Press any key to continue" # 'Press any key' promptCommands related to paging, prompt handling, and session control.
config:
linebreak: "n" # Command linebreak type: 'n' or 'r'
paging: on # Disable device paging: on | off
pagingCmd: "terminal length 0" # Command to disable paging
resetPagingCmd: "terminal length 40" # Command to re-enable paging
pagerPrompt: "" # Pager prompt (leave blank if not needed)
pagerPromptCmd: "" # Keystroke to clear pager (leave blank if not needed)
saveConfig: "wr mem" # Save config command
exitCmd: "quit" # Exit session commandAdvanced settings, used primarily for legacy or VT100-based terminal environments.
options:
AnsiHost: "yes" # Enable ANSI support for VT100 sessions
setWindowSize: [240, 2048] # Terminal width and height
setTerminalDimensions: [260, 1000] # ANSI screen dimensions- ✅ Use consistent spacing and quotes for all free text fields.
- ✅ Remove
pagerPromptandpagerPromptCmdif not required. - ❌ Do not include unused or commented-out keys.
- ✅ Test templates before submitting.
Thanks for helping grow the rConfig community! If you have questions or suggestions, feel free to open an issue or join the discussion.
Let me know if you'd like this in a .md file or if you're ready to update template validation scripts or directory structure too.