cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13346
Views
0
Helpful
2
Replies

Can you specify a source interface when using ssh from one router to another?

aprather
Level 1
Level 1

Telnet has the /source-interface option.  I was wondering if there was a way to do this using ssh?  I don't see any options for this though.

TIA!                  

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

Yes, you can specify a source for SSH using below statement

ip ssh source-interface interface

here is the command reference  guide for more info:

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_i3.html#wp1057225

HTH

blau grana
Level 7
Level 7

Hello,

I think it is only possible to specify source interface by configuring it.

Router(config)#ip ssh ?

  authentication-retries  Specify number of authentication retries

  break-string            break-string

  logging                 Configure logging for SSH

  maxstartups             Maximum concurrent sessions allowed

  port                    Starting (or only) Port number to listen on

  rsa                     Configure RSA keypair name for SSH

  source-interface        Specify interface for source address in SSH connections

  time-out                Specify SSH time-out interval

  version                 Specify protocol version to be supported

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions
Review Cisco Networking for a $25 gift card