The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

"File transfer failed!" when using SCP to transfer files to CN1610

renton

Hi All,

I was stumped when getting "File transfer failed!" using SCP to transfer files to a CN1610 switch.

 

First, I fixed the problem with the firewall.

Second, I added the required second slash at the beginning of the source path.

 

I could SCP the same file from a linux host with no issue, but on the switch still no success!

Here is the command and output:

 

(clus-sw2) #copy scp://userxx@longdomainname.company.com@12.123.123.123//var/tmp/test.scr nvram:script test.scr
Remote Password:**************

Mode........................................... SCP
Set Server IP.................................. 12.123.123.123
Path........................................... //var/tmp/
Filename....................................... test.scr
Data Type...................................... Config Script
Destination Filename........................... test.scr

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
SCP Configuration Script transfer starting...


File transfer failed!

 

 

1 ACCEPTED SOLUTION

renton

Eventually figured out that with the domain name included it was too long. Removed the unnecessary part of the domain name and then it worked:

 

(clus-sw2) #copy scp://userxx@longdomainname@12.123.123.123//var/tmp/test.scr nvram:script test.scr
Remote Password:**************

Mode........................................... SCP
Set Server IP.................................. 12.123.123.123
Path........................................... //var/tmp/
Filename....................................... test.scr
Data Type...................................... Config Script
Destination Filename........................... test.scr

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
SCP Configuration Script transfer starting...

 

Validating configuration script...

View solution in original post

1 REPLY 1

renton

Eventually figured out that with the domain name included it was too long. Removed the unnecessary part of the domain name and then it worked:

 

(clus-sw2) #copy scp://userxx@longdomainname@12.123.123.123//var/tmp/test.scr nvram:script test.scr
Remote Password:**************

Mode........................................... SCP
Set Server IP.................................. 12.123.123.123
Path........................................... //var/tmp/
Filename....................................... test.scr
Data Type...................................... Config Script
Destination Filename........................... test.scr

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
SCP Configuration Script transfer starting...

 

Validating configuration script...

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public