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

how to setup remote login when there is no leased line

krishna3010
Level 1
Level 1

I have a router which uses command line interface at home. I want to access thi from any where ouside. I have a normal internet over cable connection. What setups have to be made on the router to make it remotely accessable (especially when there is no gui in the router). Can someone answer plz

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

Hi,

I think the easiest way would be to connect to it via ssh and as you have a dynamic IP you would have to use dynDNS to be able to connect to it by name instead of IP.

1) for SSH

- crypto key generate rsa general-keys label mySSHKeys modulus 1024

-ip ssh version 2

- line vty 0 4

   login authentication VTY

   transport input ssh

2)for the authentication

- enable secret XXXXX

-username user   secret xxxxx

- aaa new-model

-aaa authentication login VTY local-case none

-aaa authentication enable default local-case enable

you'll be prompted for case-sensitive user/pass when login via ssh( which is only protocol permitted) and then you'll have to enter same user/pass for going into privileged mode

3) for DynDNS  :

http://packetlife.net/blog/2009/dec/28/dynamic-dns-ios/

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dns1.html

http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html

Regards.

Alain.

Don't forget to rate helpful posts.

thanks alain. will try that and get back