Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Download Software
Research a Problem Login required
Case Management Login required
Contract & Product Management Login required
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Home > Support > Technical Documentation > JCS 1200 Platform > JCS 1200 Software > Configuring SSH Access
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • JCS 1200
  • displaylog
  • env
  • sshcfg
  • users
 

Configuring SSH Access

Secure Shell, or SSH, is a network protocol that allows data to be exchanged over a secure channel between two systems. This section describes how to use JCS commands to configure SSH access to the JCS1200 platform.

Tasks to configure SSH include:

  • Generating the Host Key
  • Adding the User Public Key

Generating the Host Key

SSH access requires a host key and a user public key.

To generate the host key:

  1. Use an existing username and password to connect to the JCS management module serial port. For example:
    tcsh-1:telnet bcgmm1-con

    In this example, the serial port is connected to a telnet server port identified as bcgmm1-con.

  2. Use the env command to specify mm[1] as the configuration target. For example:
    system> env —T mm[1]
  3. Use the sshcfg command to generate a host key. For example:
    system:mm[1]> sshcfg —hk gen

    It takes about 1 minute to generate a host key.

  4. You can use the displaylog command to monitor host key generation. For example:
    system:mm[1]> displaylog —f
  5. Once the host key is generated, use the sshcfg command to enable SSH for the JCS CLI. For example:
    system:mm[1]> sshcfg —cstatus enabled

Adding the User Public Key

To generate a user public key:

  1. See the “Generating the Host Key” section to generate a host key.
  2. Locate the /.ssh/authorized_keys file and copy your public key from this file.
  3. Use the users command to add your public key.

    You copy the public key from the authorized_keys file and paste it on the command line. For example:

    system:mm[1]> users —2 —pk —1 —add paste-key-here
  4. Issue the users command to verify that the public key has been installed. For example:
    system:mm[1]> users —2
    - n chang
    - a Role:supervisor
    	...
    Number of SSH public keys installed for this user: 1
    Last login: 1/28/08 09:26:59
  5. Log out, and then use SSH to log back in. For example:
    system:mm[1]> exit
    tcsh-1 ssh bcgmm1

    In this example, the JCS management module Ethernet port is identified as bcgmm1.

 

Related Documentation

  • JCS 1200
  • displaylog
  • env
  • sshcfg
  • users
 

Published: 2011-12-22

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out