Got it

copy a file via scp to huawei

374 0 1 0 0

A little guide for people who wants to copy a file via scp:


aaa

 local-user admin password huawei

 local-user admin priv level 15

 local-user admin ftp-directory flash:/

 local-user admin service-type ssh

!

int vlan 10

 ip add 10.0.0.1 255.255.255.0

!

stelnet server enable

scp server enable

!

ssh user admin

ssh user admin authentication-type password

ssh user admin service-type stenet

scp client-source -i vlan 10

###########


install putty

open cmd

"C:\Program Files\Putty\pscp.exe" -P 22 -scp C:\software.cc admin@10.0.0.1:/



Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.