ASA5520远程配置 telnet,ssh

telnet配置:

ASA5520(config)# passwd asa5520 //创建用户模式密码
ASA5520(config)# enable password asa5520 //创建特权模式密码
ASA5520(config)# telnet 0.0.0.0 0.0.0.0 inside1 //允许inside1接口的任意网段telnet到防火墙
ASA5520(config)# telnet timeout 900 //超时时间
ASA5520(config)# no telnet 0.0.0.0 0.0.0.0 inside1
上述配置完毕客户端就可以连了
C:\Users\Administrator>telnet 1.1.1.55

ssh配置:

ASA5520(config)# crypto key generate rsa modulus 1024 ?
ASA5520(config)# ssh 0.0.0.0 0.0.0.0 outside
ASA5520(config)# ssh 0.0.0.0 0.0.0.0 inside
ASA5520(config)# ssh timeout 60
ASA5520(config)# ssh version 1
ASA5520(config)# passwd asa5520 //passwd命令所指定的密码为远程访问密码,同样适用于telnet,所有7.0版本以上的用户名默认为pix。

上述配置完毕客户端就可以连了
C:\Users\Administrator>ssh [email protected]


本地用户认证:
ASA5520(config)# aaa authentication ssh console LOCAL
ASA5520(config)# aaa authentication telnet console LOCAL
ASA5520(config)# username asa5520 password asa5520

这样就可以用自己建的用户远程登录了

C:\Users\Administrator>ssh [email protected]
warning: Remote server talks SSH-1.5 protocol.
asa5520's password:
Authentication successful.

C:\Users\Administrator>telnet 1.1.1.55
User Access Verification
Username: asa5520
Password: *******
Type help or '?' for a list of available commands.
ASA5520>

个人分类: ASA5520

猜你喜欢

转载自www.cnblogs.com/qzqdy/p/9050267.html