Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 4.9.1
Description
Creator is unable to deploy public key to remote qnx device.
Permission denied (publickey,keyboard-interactive)
Workaround is to do it manually
1. Create ssh keys with for ex. creator wizard
2. ssh into device with root/root
create ssh folder in root
mkdir -p ~/.ssh
3. deploy your local ssh pubkey to remote device.
If you have Putty you can use Putty's file transfer program pscp
pscp /.ssh/qtc_id.pub root@<remote-ip>:/root/.ssh/
4. ssh into device
Go into ssh folder. SSH public key should exist there now.
cd ~/.ssh
5. Write public key into authorize_keys file
cat qtc_id >> authorized_keys
6. Write file permissions
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys