This example shows how to configure the SSH source interface:
switch(config)# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# ip ssh source-interface ethernet 1/7
switch(config)# show ip ssh source-interface
VRF Name Interface
default Ethernet1/7
Starting SSH Sessions to Remote Devices
You can start SSH sessions to connect to remote devices from your Cisco Nexus device.
Procedure
PurposeCommand or Action
Creates an SSH session to a remote device. The
hostname argument can be an IPv4 address or a
hostname.
switch# ssh {hostname |
username@hostname} [vrf vrf-name]
Step 1
Clearing SSH Hosts
When you download a file from a server using SCP or SFTP, you establish a trusted SSH relationship with
that server.
Procedure
PurposeCommand or Action
Clears the SSH host sessions.switch# clear ssh hosts
Step 1
Disabling the SSH Server
By default, the SSH server is enabled on the Cisco Nexus device.
Procedure
PurposeCommand or Action
Enters global configuration move.switch# configure terminal
Step 1
Enables/disables the SSH server. The default is
enabled.
switch(config)# [no] feature ssh
Step 2
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
65
Configuring SSH and Telnet
Starting SSH Sessions to Remote Devices