cisco - Cant configure ssh connection while using Java -


i use commands configure ssh on router (via java). cant seem working (don't know error)

router# aaa new-model username cisco password 0 cisco

router#ip domain-name rtp.cisco.com

router#crypto key generate rsa

router#ip ssh time-out 60

router#ip ssh authentication-retries 2

router#line vty 0 4 transport input ssh

by default rsa key name composed host name , domain name, , since ssh needs rsa key in order work, need specifiy domain name before configuring rsa key , ssh. rsa key name somthing this:

you need change hostname first hostname >name<* in config mode


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -