plasma-nm lacks support for NetworkManager-ssh: https://github.com/danfruehauf/NetworkManager-ssh The SSH socks proxy is the most widely deployed VPN in the world. Having support for it would be nice.
It is interesting. We just need distribution to provide configuration for the server (ssh-server and firewalll configuration). Plasma NM cannot configure those settings since it run as normal user and not root.
(In reply to Lamarque V. Souza from comment #1) > It is interesting. We just need distribution to provide configuration for > the server (ssh-server and firewalll configuration). Plasma NM cannot > configure those settings since it run as normal user and not root. How does this case differ from networkmanager-openvpn?
(In reply to Richard Yao from comment #2) > (In reply to Lamarque V. Souza from comment #1) > > It is interesting. We just need distribution to provide configuration for > > the server (ssh-server and firewalll configuration). Plasma NM cannot > > configure those settings since it run as normal user and not root. > > How does this case differ from networkmanager-openvpn? For instance, Gentoo does not provide a networkmanager-ssh ebuild / package. Do other distributions pack networkmanager-ssh? If not then there is little use for it and this request will be low priority. According to rpm.pbone.net only Fedora / RHEL packs it in the "rpm world", not sure about "deb world". I am not saying we won't implement this. Actually, this can solve a problem I have to access my company's vpn from a place I sometimes need to be, so I have a personal interest in this. Just need to finish other work before I start implementing this.
I wrote a networkmanager-ssh ebuild for Gentoo, but I have not committed it because I cannot test it without support in plasma-nm and/or KDE Network Management. I could go ahead and commit it, but it would remain unkeyworded until someone can test it. This seems like a chicken and egg scenario. If committing the ebuild to Gentoo's main tree will help break it, I will go ahead and do that. Otherwise, I would prefer to hold off until something I can actually use supports it.
Created attachment 89789 [details] net-misc/networkmanager-ssh-0.9.1 Here is the ebuild for adding net-misc/networkmanager-ssh to Gentoo. The shell tools do not make it particularly easy to use net-misc/networkmanager-ssh without a GUI frontend. I am not aware of a way to test it without systemd+GNOME, so I have not committed it. I cannot speak for people doing RPM and DEB packaging on other distributions, but it is possible that they are in the same chicken vs. egg situation.
The ebuild will make my life easier to test this, thanks :-) I will try to come up with something by the end of this month. I do not use systemd in Gentoo, just hope systemd is not a requirement.
systemd is not a direct requirement for networkmanager-ssh. However, the ebuild's USE=gtk provides a plugin for GNOME and GNOME has had systemd dependency creep. It is likely possible to get around it, but I do not have time to dedicate to getting GNOME running on my system. As a side note, USE=gtk is probably a misnomer in that it really for GNOME, but I called it that to be consistent with networkmanager-openvpn.
Git commit d76fb3dee7ed20545ae1bb3b2a2d2e78517f6698 by Jan Grulich. Committed on 29/04/2015 at 13:56. Pushed by grulich into branch 'master'. Add SSH VPN plugin REVIEW:123465 M +1 -1 libs/editor/simpleipv4addressvalidator.h M +1 -1 libs/editor/simpleipv6addressvalidator.h M +5 -4 vpn/CMakeLists.txt A +32 -0 vpn/ssh/CMakeLists.txt A +4 -0 vpn/ssh/Messages.sh A +61 -0 vpn/ssh/nm-ssh-service.h [License: GPL (v2+)] A +99 -0 vpn/ssh/plasmanetworkmanagement_sshui.desktop A +81 -0 vpn/ssh/ssh.cpp [License: GPL (v2/3)] A +41 -0 vpn/ssh/ssh.h [License: GPL (v2/3)] A +221 -0 vpn/ssh/sshadvanced.ui A +75 -0 vpn/ssh/sshauth.cpp [License: GPL (v2/3)] A +48 -0 vpn/ssh/sshauth.h [License: GPL (v2/3)] A +70 -0 vpn/ssh/sshauth.ui A +387 -0 vpn/ssh/sshwidget.cpp [License: GPL (v2/3)] A +54 -0 vpn/ssh/sshwidget.h [License: GPL (v2/3)] A +333 -0 vpn/ssh/sshwidget.ui http://commits.kde.org/plasma-nm/d76fb3dee7ed20545ae1bb3b2a2d2e78517f6698