I have installed Raspicast on my Android smartphone and tried to connect to the Raspberry using a key file. I have tried both the Linux SSH key format (id_rsa file) and Putty key format (*.ppk file), which are known to work. There is no passphrase for those files, they are both unencrypted.

Raspicast won't connect with either key file, failing with the same message:

Unable to connect!

Anyone knows what Raspicast expects? Is there a different app for screencasting on a Raspberry that actually works?


2 Answers 2


got the same problem, after digging comments in the playstore app and some trial and error on multiple formats got this:

  • in raspberrypi key generated like this: ssh-keygen -t rsa -b 4096 -m PEM

this generates /home/pi/.ssh/id_rsa and id_rsa.pub

  • the usual ssh key inject: ssh-copy-id localhost

  • in the Raspicast App use USER: pi and Key File id_rsa generated previously

That worked for me.


I am new so sorry if this doesn't help but looking at raspicast and at how someone else set it up with there android maybe you need OMXIV to help with casting?


The project is probably different but it shows how they connected there android phone to there raspberry pi using raspicast! Happy travels.

  • Those guys are using a password for SSH. My Pi is accessible on a public IP, so I won't enable password logins on it. Apr 21, 2020 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.