Using Volumio already for several years at home with no problems (thanks!), I wanted to build another device for a 2nd location - of course facing a problem…
My steps in chronological order:
Installed Volumio (latest version 3.799) on a Raspi 3B at home, working without problems.
Checked ssh access with user volumio - ok
Transferred configuration (playlists,…) with WinSCP - ok
Transferred the device to the new location, everything is up and running.
Both home and remote locations are connected via site2site-VPN, access to several other devices is ok.
Access from home to Volumios web server at port 80 is ok
Now the problem: ssh access from home to the remote Volumio device doesn’t work - reason: Connection refused!:
Microsoft Windows [Version 10.0.22000.2538]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\Roland>ssh volumio@10.0.1.140
ssh: connect to host 10.0.1.140 port 22: Connection refused
C:\Users\Roland>
Seems to me that the ssh access is restricted to the local network.
How can I gain access to the remote device from home?
It looks like you’re encountering the “Connection refused” issue when trying to SSH into your Volumio device at the remote location. This happens because SSH is likely not enabled on the remote Volumio device.
Here’s how to enable SSH access:
Enable SSH on the Volumio Device: To enable SSH access on the remote Volumio device, follow these steps:
Open the Volumio web interface by visiting http://10.0.1.140/dev in your browser.
In the web interface, look for the SSH section.
Click on the Enable button to activate SSH access on the remote Volumio device.
Check VPN Configuration: Since you’re using a site-to-site VPN, ensure the VPN is correctly routing traffic to the remote Volumio device, including allowing access to port 22 (SSH) and port 80 (HTTP). If it’s restricting traffic, you might need to adjust the firewall or routing rules.
Once SSH is enabled, you should be able to SSH into the device from your home network.
Thanks for your quick reply and what should I say? One click and it works!
What I don’t understand is the fact, that ssh did actually work within the local network even without clicking on “SSH Enable”! Copying the configuration with WinSCP wouldn’t have worked either.
But I’m not the linux guy with the deepest knowledge to investigate further. At least the /etc/ssh/sshd_config file seems to been left untouched.
And there was no need to change the s2s-vpn configuration.
So, just thanks again!
btw, is there a way to mark the thread as solved?