docker-shadowsocks-libev icon indicating copy to clipboard operation
docker-shadowsocks-libev copied to clipboard

Connect to the server docker instance via sslocal command

Open sajjadG opened this issue 8 years ago • 2 comments

I get connection reset by peer error when try connect to the server instance via sslocal command. When is use docker-compose up -d client it works fine but not when I use the sslocal with the same options as the ones in the docker-compose.yml file. The server I used docker-compose up -d server to run.

$ sslocal -s 82.102.10.137 -p 8388 -m aes-256-cfb -k Pa$$_17 -b 127.0.0.1 -t 600 --fast-open -v
2017-11-24 18:58:31 INFO     loading libcrypto from libcrypto.so.1.1
2017-11-24 18:58:31 INFO     starting local at 127.0.0.1:1080
2017-11-24 18:58:31 DEBUG    using event model: epoll
2017-11-24 18:58:46 DEBUG    accept
2017-11-24 18:58:46 DEBUG    chosen server: 82.102.10.137:8388
2017-11-24 18:58:46 INFO     connecting twitter.com:443 from 127.0.0.1:49610
2017-11-24 18:58:46 DEBUG    got remote error
2017-11-24 18:58:46 ERROR    [Errno 104] Connection reset by peer
2017-11-24 18:58:46 DEBUG    destroy: twitter.com:443
2017-11-24 18:58:46 DEBUG    destroying remote
2017-11-24 18:58:46 DEBUG    destroying local

sajjadG avatar Nov 24 '17 15:11 sajjadG

You need to single quote your password, otherwise $$ will be expanded as current process id

$ echo Pa$$_17
Pa11498_17

$ echo 'Pa$$_17'
Pa$$_17

vimagick avatar Nov 29 '17 14:11 vimagick

I checked sslocal -s 82.102.10.137 -p 8388 -m aes56-cfb -k 'Pa$$_17' -b 127.0.0.1 -t 600 --fast-open -v but the error is the same.

sajjadG avatar Dec 06 '17 08:12 sajjadG

-m aes56-cfb is not a valid encryption method

vimagick avatar Jun 08 '23 01:06 vimagick