SCPを使用してAWSインスタンスにファイルをコピーしようとしていますが、以下のように権限拒否エラーが発生しています。グループ名を「ユーザー」に変更しようとしました。誰にでもこれを修正する方法のガイダンスを提供できますか?chmodがcygwinのグループ権限を変更できない
drwx------+ 1 username NA+Group(513) 0 May 10 23:33 .ssh
-rwxr-xr-x 1 Administrators NA+Group(513) 1692 May 5 17:00 ngc.pem
-rwxr-xr-x 1 Administrators NA+Group(513) 1692 May 8 12:47 test.pem
-rwxr-xr-x 1 Administrators NA+Group(513) 1464 May 8 13:45 test.ppk
[email protected] ~
$ scp -i test.pem index.html ec2-publicip.us-west-2.compute.amazonaws.com:~
Permission denied (publickey).
lost connection
[email protected] ~
$ chown usernam1 test.pem
chown: changing ownership of 'test.pem': Permission denied
[email protected] ~
$ chown :Users test.pem
chown: changing group of 'test.pem': Permission denied
'-v'オプションの出力は何ですか? 'scp -v -i test.pem' – helloV