# Copying files - Pull from PUMA2

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/copying-files-pull-from-puma2/1222>\
**Category:** Uncategorized\
**Tags:** ARCHER2\
**Created:** [22 October 2023 08:59 UTC](https://cms-helpdesk.ncas.ac.uk/t/copying-files-pull-from-puma2/1222 "2023-10-22T08:59:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irealm37](https://avatars.discourse-cdn.com/v4/letter/i/779978/32.png) [@irealm37](https://cms-helpdesk.ncas.ac.uk/u/irealm37)\
**Post date:** [22 October 2023 08:59 UTC](https://cms-helpdesk.ncas.ac.uk/t/copying-files-pull-from-puma2/1222/1 "2023-10-22T08:59:52Z")

</div>

I am in the process of transferring my files from pumatest to puma2.

When typing (from BAS machines) the following command scp ~/.ssh/id\_rsa\_puma\* @login.archer2.ac.uk:/home/n02/n02-puma//.ssh

I am getting the error message “Permission denied (publickey).”

I have been able to access archer2 and puma2. To access Archer2 I have to use the following command

ssh -AX -i ~/.shh/id\_rsa\_safe [irealm37@login.archer2.ac.uk](mailto:irealm37@login.archer2.ac.uk)

Any tips on this will be very helpful.  
Many thanks,  
Irene.

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [23 October 2023 07:23 UTC](https://cms-helpdesk.ncas.ac.uk/t/copying-files-pull-from-puma2/1222/2 "2023-10-23T07:23:33Z")

</div>

Hi Irene,

If you usually specify `-i ~/.ssh/id_rsa_safe` key when you run `ssh` to ARCHER2 then you need to do the same when you use scp.

Regards,  
Ros.
