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

Nexus SSH client - connect to non-default SSH port

Mate Grbavac
Level 1
Level 1

Hi,

is it possible to initiate ssh session from Nexus to non-default SSH port?

For example, I want connect via SSh from NX-OS to SSH server via port 922.

BR, Mate  

1 Reply 1

Leonardo Gama
Level 1
Level 1

Hi Mate,

There is not this option in the NXOS cli.

But you can run bash on Nexus 9000, and from there you can run ssh:

switch# configure treminal
switch(config)# feature bash-shell
switch# run?
run Execute/run program
run-script Run shell scripts

switch# run bash?
bash Linux-bash

switch# run bash
bash-4.2$ ssh -p 922 username@x.x.x.x

Cheers.