umatare5 / telee

CLI to execute a command on remote networking device
MIT License
2 stars 0 forks source link

Support SSH for IOS #8

Closed umatare5 closed 3 years ago

umatare5 commented 3 years ago

User Mode

$ telee --hostname lab-cat29l-02f99-01 -C "show ver" --secure | head -n 10
show ver
Load for five secs: 1%/0%; one minute: 2%; five minutes: 1%
Time source is NTP, 02:14:05.978 JST Fri May 14 2021
Cisco IOS Software, C2960L Software (C2960L-UNIVERSALK9-M), Version 15.2(5c)E, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 18-Oct-16 23:59 by prod_rel_team

ROM: Bootstrap program is HAYWARDS boot loader
BOOTLDR: C2960L Boot Loader (C2960L-HBOOT-M) Version 15.2(5r)E1, RELEASE SOFTWARE (fc2)

Privileged Mode

$ telee --hostname lab-cat29l-02f99-01 -C "show run" --secure --enable | head -n 10
show run
Load for five secs: 1%/0%; one minute: 1%; five minutes: 1%
Time source is NTP, 02:13:45.553 JST Fri May 14 2021

Building configuration...

Current configuration : 18716 bytes
!
! Last configuration change at 01:46:41 JST Fri May 14 2021 by raciadev
!