在配置sftp时,如果不是使用本地账户,使用客户的域账户通过sftp登录该如何配置?
[Switch] sftp server enable
# 配置VLAN接口1的IP地址,客户端将通过该地址连接SSH服务器:
[Switchl interface vlan-interface
[Switch-Vlan-interface1] ip address 192.168.1.45 255.255.255.0
[Switch-Vlan-interfacell quit
# 设置SSH客户端登录用户界面的认证方式为AAA认证,
[Switchluser-interface vty04
[Switch-ui-vty0-4lauthentication-mode scheme
# 设置Switch上远程用户登录协议为SSH。
[Switch-ui-vty0-4]protocol inbound ssh
[Switch-ui-vty0-4]quit
#创建本地用户client002.
[Switchl local-user client002
[Switch-luser-client002]password simple aabbcc
[Switch-luser-client002]service-type ssh
Switch-luser-client002lquit
# 配置SSH用户认证方式为password,服务类型为SFTP[Switch] ssh user client002 service-type sftp authentication-type password
(0)
最佳答案
以hwtacacs为例,对接imc,通过ldap同步AD域内的账号,实现使用域账号登录设备。参考如下案例:https://zhiliao.h3c.com/Theme/details/102450
(0)
那就是3A认证
(0)
需要把最后一条配置,改为客户的域账户吗ssh user client002 service-type sftp authentication-type password
需要把最后一条配置,改为客户的域账户吗ssh user client002 service-type sftp authentication-type password
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明