SCP
scp -P 22 -i ~/.ssh/id_ed25519 root@213.173.102.159:/mmdetection/data/results/vis/results.tar.gz ./
root@213.173.102.159's password:
I am attempting to retrieve some files from my pod via SCP but I'm being prompted for a password, why is this happening?
root@213.173.102.159's password:
I am attempting to retrieve some files from my pod via SCP but I'm being prompted for a password, why is this happening?
Solution
Yep absolutely correct, I ended up solving it with: bash -c 'apt update;DEBIANFRONTEND=noninteractive apt-get install openssh-server -y;mkdir -p ~/.ssh;cd $;chmod 700 ~/.ssh;echo "$PUBLIC_KEY" >> authorized_keys;chmod 700 authorized_keys;service ssh start;sleep infinity' as my docker command and was going to update my post but couldn't find where my post was in help-topics (turns out it was in serveless lol)