You are not logged in.

#1 2016-02-25 17:34:03

tusam
Member
Registered: 2016-02-25
Posts: 3

cannot get sshuttle to run

Hello,

I cannot seam to get sshuttle and after googleing and searching forums I have not found a solution.

Here is my command and output:

sshuttle --dns -r user@server 0/0 -vv
Starting sshuttle proxy.
firewall manager: Starting firewall with Python version 3.5.1
firewall manager: ready method name nat.
IPv6 enabled: False
UDP enabled: False
DNS enabled: True
Binding redirector: 12300
TCP redirector listening on ('127.0.0.1', 12300).
TCP redirector listening with <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 12300)>.
Binding DNS: 12300
DNS listening on ('127.0.0.1', 12300).
DNS listening with <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('127.0.0.1', 12300)>.
Starting client with Python version 3.5.1
c : connecting to server...
c : executing: ['ssh', 'user@server', '--', 'P=python3.5; $P -V 2>/dev/null || P=python; exec "$P" -c \'import sys; verbosity=7; stdin=getattr(sys.stdin,"buffer",sys.stdin); exec(compile(stdin.read(915), "assembler.py", "exec"))\'']
c :  > channel=0 cmd=PING len=7 (fullness=0)
sh: exec: line 1: python: not found
c : fatal: server died with error code 2

Offline

#2 2016-02-25 17:54:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,719

Re: cannot get sshuttle to run

Moving to AUR issues

Last edited by ewaller (2016-02-25 18:10:55)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-02-25 18:02:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: cannot get sshuttle to run

python not found doesn't sound good. You do have the python package installed, right? And you haven't screwed with the /usr/bin/python symlink?

Offline

#4 2016-02-25 18:03:49

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: cannot get sshuttle to run

@Ewaller, you sure?

[ugjka@ArchPC aur]$ pacman -Sii sshuttle
Repository      : community
Name            : sshuttle
Version         : 0.76-1
Description     : Transparent proxy server that forwards all TCP packets over ssh
Architecture    : any
URL             : https://github.com/sshuttle/sshuttle
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : python-setuptools  iptables  openssh  net-tools
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Download Size   : 76,90 KiB
Installed Size  : 349,00 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : None
MD5 Sum         : 3d7518c4824cec540152ca7af1ed7211
SHA-256 Sum     : dac736edae57231593f56b95498b88caf535c931c0eeb1e6fc0a7c9eb1fbb5f5
Signatures      : 786C63F330D7CB92

Offline

#5 2016-02-25 18:06:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,719

Re: cannot get sshuttle to run

What is the output of which python    ?

Edit Scimmia is way ahead of me

Last edited by ewaller (2016-02-25 18:09:54)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2016-02-25 18:09:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,719

Re: cannot get sshuttle to run

ugjka wrote:

@Ewaller, you sure?

pacaur misled me sad  Moving back to Applications and Desktop environments.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2016-02-25 23:52:17

tusam
Member
Registered: 2016-02-25
Posts: 3

Re: cannot get sshuttle to run

Scimmia wrote:

python not found doesn't sound good. You do have the python package installed, right? And you haven't screwed with the /usr/bin/python symlink?

@Scimmia yes Python is installed and no I have not changed anything.

Offline

#8 2016-02-26 01:26:28

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: cannot get sshuttle to run

I probably have no idea what I'm talking about, but does the server have python installed? It seems like the error came from server-side (through SSH?)

Last edited by Steef435 (2016-02-26 01:27:01)

Offline

#9 2016-02-26 11:24:54

tusam
Member
Registered: 2016-02-25
Posts: 3

Re: cannot get sshuttle to run

Steef435 wrote:

I probably have no idea what I'm talking about, but does the server have python installed? It seems like the error came from server-side (through SSH?)

Excellent point, it does not. I'll try on a server that does and le you guys know. Thanks.

Offline

#10 2016-02-26 11:43:08

positronik
Member
Registered: 2016-02-08
Posts: 95

Re: cannot get sshuttle to run

Steef435 wrote:

I probably have no idea what I'm talking about, but does the server have python installed? It seems like the error came from server-side (through SSH?)

Yes you are absolutely right.
See

https://github.com/apenwarr/sshuttle/bl … /README.md

In particular section This is how you use it

Offline

Board footer

Powered by FluxBB