Skip to content

hal2069/ssh-copy-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssh-copy-net

ssh-copy-id equivalent for network devices, implemented using Netmiko.

Requires

Netmiko >= 1.4.0

Supports

  • Cisco IOS-XE
  • JUNOS (SRX, MX)
  • Arista EOS
  • Nokia (Alcatel-Lucent) SROS
  • Dell Force10 OS9
  • HP Comware 7
  • Mellanox MLNX-OS

Installation

pip install git+https://github.com/networkop/ssh-copy-net.git

Usage

Enter device IP, vendor and admin credentials. Default behaviour is to install local user's public SSH key.

[null@null ~]$ ssh-copy-net 10.6.142.1 juniper
Username: admin
Password:
All Done!

Login the device without entering password:

[null@null ~]$ ssh 10.6.142.1
--- JUNOS 12.3X48-D30.7 built 2016-04-28 22:37:34 UTC
{primary:node0}
null@srx-1>

About

ssh-copy-id for network devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%