cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7267
Views
1
Helpful
1
Replies

SSH from vEdge to another device

JakSmith27
Level 1
Level 1

Once logged into the CLI of a vEdge, how do you ssh to another device like you would in traditional IOS?

 

 

Example in IOS:

 

ssh -l username 10.x.x.x

1 Accepted Solution

Accepted Solutions

Danny De Ridder
Cisco Employee
Cisco Employee

Hello,

 

from the Viptela CLI you can execute the command as shown below in a certain vpn.

If you want to connect via vpn 0, you can specify that vpn 0. Or if you have some device reachable on your vpn 512 or any other vpn you can change the vpn number in the command below.

 

Regards.

 

Danny.

 

bspcl-vManage-1# request execute vpn 0 ssh -l admin 5.5.5.6
////////////////////////////////////////////////////////////////////////////////////////////////////
!!!!!! THIS DEVICE IS PART OF A PRIVATE NETWORK AND ALL ATTEMPTS TO LOGIN ARE BEING MONITORED !!!!!!
!!!!!!   UNAUTHORIZED USE IS PROHIBITED THEREFORE DISCONNECT NOW IF YOUR ARE NOT AUTHORIZED   !!!!!!
////////////////////////////////////////////////////////////////////////////////////////////////////
admin@5.5.5.6's password:
Last login: Wed Apr 22 18:17:40 2020 from 5.5.5.1
Welcome to Viptela CLI
admin connected from 5.5.5.1 using ssh on bspcl-vEdge-1
bspcl-vEdge-1# exit
Connection to 5.5.5.6 closed.
bspcl-vManage-1#

View solution in original post

1 Reply 1

Danny De Ridder
Cisco Employee
Cisco Employee

Hello,

 

from the Viptela CLI you can execute the command as shown below in a certain vpn.

If you want to connect via vpn 0, you can specify that vpn 0. Or if you have some device reachable on your vpn 512 or any other vpn you can change the vpn number in the command below.

 

Regards.

 

Danny.

 

bspcl-vManage-1# request execute vpn 0 ssh -l admin 5.5.5.6
////////////////////////////////////////////////////////////////////////////////////////////////////
!!!!!! THIS DEVICE IS PART OF A PRIVATE NETWORK AND ALL ATTEMPTS TO LOGIN ARE BEING MONITORED !!!!!!
!!!!!!   UNAUTHORIZED USE IS PROHIBITED THEREFORE DISCONNECT NOW IF YOUR ARE NOT AUTHORIZED   !!!!!!
////////////////////////////////////////////////////////////////////////////////////////////////////
admin@5.5.5.6's password:
Last login: Wed Apr 22 18:17:40 2020 from 5.5.5.1
Welcome to Viptela CLI
admin connected from 5.5.5.1 using ssh on bspcl-vEdge-1
bspcl-vEdge-1# exit
Connection to 5.5.5.6 closed.
bspcl-vManage-1#
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: