I'm inside chroot, and everytime I scp it keeps telling me:
bash-4.2$ scp [email protected]:somefile . Could not create directory '/.ssh'. Host key verification failed. Obviously, I have no means to create "/.ssh" dir either, also I've tried to
export HOME=/private/ (Private dir is user only writable/readable) but it throws same error, that it can't create "/.ssh" so it doesn't even change the path it is trying to create, it always tries to create "/.ssh".
How can I ignore or change the "/.ssh" directory of scp/ssh commands?