Termius, JuiceSSH for remote gqrx udp stream ?

190 views
Skip to first unread message

Nicholas VE2NGO

unread,
Apr 27, 2019, 2:18:23 AM4/27/19
to Gqrx SDR
Would it be possible to ssh from an ipod using an app like Termius (or an Android device running JuiceSSH) into a laptop running gqrx ?

For example, with a desktop terminal,  its easy to receive udp stream from gqrx on a LAN :

ssh us...@192.168.1.110 nc -l -up 7355 | aplay -r 48000 -f S16_LE -t raw -c 1


I haven't found a way to directly send the same command from Termius or JuiceSSH

It looks like it is needed to connect with ssh first, then run the rest of the command once connected, which doesn't work as I'd like to.


The final goal is to get a private and secure connection with ssh to my gqrx udp stream over WAN via my ipod, but I need to find a way to get it done over LAN before.

Any ideas ?  Or maybe there is an easier solution than ssh to get the same results ?

Nicholas VE2NGO

Alexandru Csete

unread,
Apr 27, 2019, 4:38:16 AM4/27/19
to Gqrx
On Sat, Apr 27, 2019 at 8:18 AM Nicholas VE2NGO <ve2...@gmail.com> wrote:
>
> Would it be possible to ssh from an ipod using an app like Termius (or an Android device running JuiceSSH) into a laptop running gqrx ?
>
> For example, with a desktop terminal, its easy to receive udp stream from gqrx on a LAN :
>
> ssh us...@192.168.1.110 nc -l -up 7355 | aplay -r 48000 -f S16_LE -t raw -c 1

Hi Nicholas,

I think the problem in the above command is that the " | aplay..."
part is considered as part of the local command rather than the remote
command. You can try to surround it by quotes or create a script on
the remote machine and execute that as the ssh command.

Alex

dra...@gmail.com

unread,
Apr 27, 2019, 11:50:06 AM4/27/19
to Gqrx SDR
Good morning Nicholas,

   - Are you trying to remotely control a Gqrx GUI instance from your phone with audio?  Consider using Microsoft's fre Remote Desktop app for Android and XRDP on the Linux machine.  Yes, you can tunnel RDP traffic through SSH if needed.

   - Are you just trying to receive audio without any GUI?  Consider sending the Gqrx audio into a stream to listen to the audio:

      #See the VLC example at the bottom
      http://gqrx.dk/doc/streaming-audio-over-udp#more-157

      Also consider setting up an BlackIce audio streaming setup

--David
KI6ZHD

Nicholas VE2NGO

unread,
Apr 27, 2019, 7:07:09 PM4/27/19
to Gqrx SDR
For this project, I'm not trying to remotely control a gqrx GUI.  I just want to get an audio stream from gqrx, privately and encrypted, on my ipod, on a WAN connection.

I can get the vlc stream on my ipod with this command :

vlc --demux=rawaud --rawaud-channels=1 --rawaud-samplerate=48000 udp://@:7355 --sout '#standard{access=http,mux=ogg,dst=192.168.1.110:8888}'

It work very well, the problem is that the connection is not private and encrypted.  So its not a good solution for WAN access.

The ssh command work very well on a desktop terminal, the problem on an iOS app like Termius, because you need to connect before executing the command, is that the " |  aplay..." part is considered as part of the local command rather than the remote command.

I'm sure there is a way to execute a command immediately at the ssh connection.  I'll search a bit further into the Termius documentation.

Thanks for the help

Nicholas

Reply all
Reply to author
Forward
0 new messages