I did the usual routine of transferring my local files to vm using scp:
- fly ssh issue --org nappy --agent --dotssh (I only invoked this when ssh is expired in 24hrs)
- fly proxy 8888:22 --app app-db
- scp -P 8888 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null my/local/file.txt root@localhost:/file.txt
- then returns
Received disconnect from 127.0.0.1 port 8888:2: too many authentication failures
Disconnected from 127.0.0.1 port 8888
scp: Connection closed
Or if I use this scp -P 8888 -i ~/.ssh/fly_key my/local/file.txt root@localhost:/file.txt
where fly_key
is also generated from fly ssh issue
and still the same error is displayed.
Question: how long should I wait before I can scp
my file(s)? I this right approach to solve my problem?