ssh
Syntax
ssh host
<bypass-routing>
<inet | inet6>
<interface interface-name>
<logical-system logical-system-name>
<routing-instance routing-instance-name>
<source address>
<v1 | v2>
Syntax (EX Series
Switch)
ssh host
<bypass-routing>
<inet | inet6>
<interface interface-name>
<routing-instance routing-instance-name>
<source address>
<v1 | v2>
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Use the SSH program to open a connection between a local router or switch and a remote
system and execute commands on the remote system. You can issue the
ssh
command
from the Junos OS CLI to log in to a remote system or from a remote system to log in to
the local router or switch. When executing this command, you include one or more CLI
commands by enclosing them in quotation marks and separating the commands with
semicolons:
ssh address 'cli-command1 ; cli-command2 '
Options
host
—Name or address of the remote system.
bypass-routing
—(Optional) Bypass the normal routing tables and send ping requests
directly to a system on an attached network. If the system is not on a directly attached
network, an error is returned. Use this option to ping a local system through an
interface that has no route through it.
inet | inet6
—(Optional) Create an IPv4 or IPv6 connection, respectively.
interface
interface-name
—(Optional) Interface name for the SSH session. (This option
does not work when
default-address-selection
is configured at the
[edit system]
hierarchy level, because this configuration uses the loopback interface as the source
address for all locally generated IP packets.)
logical-system
logical-system-name
—(Optional) Name of a particular logical system for
the SSH attempt.
routing-instance
routing-instance-name
—(Optional) Name of the routing instance for the
SSH attempt.
source
address
—(Optional) Source address of the SSH connection.
631
Copyright © 2010, Juniper Networks, Inc.
Chapter 38: Operational Mode Commands for System Services
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...