进入视图模式
system-view
interface GigabitEthernet 1/0/0
service-manage ssh permit
service-manage enable
启用 sftp
sftp server enable
VTY认证
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
user privilege level 3
新建用户名为SFTP的SSH用户,认证方式为password、服务方式为SFTP及服
务目录hda1
ssh user sftpd
ssh user sftpd authentication-type password
aaa
manager-user sftpd
service-type ssh
level 3
password
ssh user sftpd service-type sftp
ssh user sftpd sftp-directory hda1:
保存
save
升级
startup system-software USG6000V500R001C60SPC300.bin
startup saved-configuration vrpcfg_new.cfg