Use SOCKS-friendly applications with Tor

Edit Package torsocks

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/torsocks.conf and use Torsocks with

usewithtor application

So, for example you can use ssh to a some.ssh.com by doing

usewithtor ssh -p SSH-Port -i ~/.ssh/ssh-key.rsa username@some.ssh.com

You can use in /etc/bash.bashrc.local or /etc/zsh.zshrc.local alias

alias slogin-='usewithtor 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

Refresh
Refresh
Source Files
Filename Size Changed
torsocks-2.4.0.tar.gz 0000119010 116 KB
torsocks-rpmlintrc 0000000154 154 Bytes
torsocks.changes 0000013513 13.2 KB
torsocks.spec 0000003387 3.31 KB
Latest Revision
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 1011885 from Yuchen Lin's avatar Yuchen Lin (maxlin_factory) (revision 4)
Automatically create request by update submitter.This is going to update package to openSUSE:Backports:SLE-15-SP5 from openSUSE:Factory.Please review this change and decline it if Leap do not need it.
Comments 0
openSUSE Build Service is sponsored by