How to Install and Uninstall torsocks Package on openSuSE Tumbleweed

Last updated: March 29,2024

1. Install "torsocks" package

Please follow the guidance below to install torsocks on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install torsocks

2. Uninstall "torsocks" package

Here is a brief guide to show you how to uninstall torsocks on openSuSE Tumbleweed:

$ sudo zypper remove torsocks

3. Information about the torsocks package on openSuSE Tumbleweed

Information for package torsocks:
---------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : torsocks
Version : 2.4.0-1.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 160.9 KiB
Installed : No
Status : not installed
Source package : torsocks-2.4.0-1.5.src
Upstream URL : https://gitlab.torproject.org/tpo/core/torsocks/-/releases/
Summary : Use SOCKS-friendly applications with Tor
Description :
Torsocks allows you to use most applications in a safe way with Tor.
It ensures that DNS requests are handled safely and explicitly rejects
any traffic other than TCP from the application you're using.
Torsocks is an ELF shared library that is loaded before all others.
The library overrides every needed Internet communication libc function
calls such as connect(2) or gethostbyname(3).
This process is transparent to the user and if torsocks detects any
communication that can't go through the Tor network such as UDP traffic,
for instance, the connection is denied. If, for any reason, there is no way
for torsocks to provide the Tor anonymity guarantee to your application,
torsocks will force the application to quit and stop everything.
Adjust when needed /etc/tor/torsocks.conf and use Torsocks with
torsocks application
So, for example you can use ssh to a some.ssh.com by doing
torsocks ssh -p SSH-Port -i ~/.ssh/ssh-key.rsa [email protected]
You can use in /etc/bash.bashrc.local or /etc/zsh.zshrc.local alias
alias slogin-='torsocks slogin'
And can ajust ~/.ssh/config with your data for server or PC and then use simple
slogin- server
or add too an alias
alias slogin-server='slogin- server'
and use simple
slogin-server