O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SSH file transfer

The steps are as follows:

  1. First of all prepare a UNIX user account on the development/management platform in order to allow the JUNOS host (or hosts) to upload a report after a configuration change. The exact method to create a user account on your system might vary but here are two common methods on Debian Linux and OpenBSD respectively:
Debian Linux OpenBSD
user$ sudo adduser junosAdding user junos...Adding new group junos (1001) ...Adding new user junos (1001) with group junos ...Creating home directory “/home/junos” ...Copying files from /etc/skel ...Enter new UNIX password:Retype new UNIX password:passwd: password updated successfully
$ doas adduserEnter username []: junos Enter full name []: Enter shell csh ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required