一鍵腳本搭建SS服務器

原文鏈接

前言

寫了一個SS一鍵服務器搭建腳本

https://github.com/shellhub/shellhub

視頻演示

連接VPS服務器

ssh root@your_vps_ip_address

下載腳本並安裝

複製下面的代碼在vps執行

wget -N --no-check-certificate https://raw.githubusercontent.com/shellhub/shellhub/master/proxy/shadowsocks.sh && chmod +x shadowsocks.sh && ./shadowsocks.sh

輸入連接密碼

直接回車默認爲shellhub

******************************************************
* OS     : Debian Ubuntu CentOS                      *
* Desc   : auto install shadowsocks on CentOS server *
* Author : https://github.com/shellhub               *
******************************************************

Password used for encryption (Default: shellhub):

輸入端口號

該端口號爲服務器監聽端口號,可以手動輸入,或者直接回車默認生成

Server port(1-65535) (Default: 19058):4454

選擇加密方式

默認爲aes-256-cfb,可以選擇對應的數字

1:  aes-128-cfb
2:  aes-192-cfb
3:  aes-256-cfb
4:  chacha20
5:  salsa20
6:  rc4-md5
7:  aes-128-ctr
8:  aes-192-ctr
9:  aes-256-ctr
10: aes-256-gcm
11: aes-192-gcm
12: aes-128-gcm
13: camellia-128-cfb
14: camellia-192-cfb
15: camellia-256-cfb
16: chacha20-ietf
17: bf-cfb
Select encryption method (Default: aes-256-cfb):3

安裝完成

會生成如下配置信息,分別爲服務器ip地址,端口號,加密方式,密碼,還有一個包含所有配置信息的鏈接(ss開頭)

Install completed
ip_address: 192.168.23.3
server_port:    4454
encryption: aes-256-cfb
password:   shellhub
ss_link:    ss://YWVzLTI1Ni1jZmI6c2hlbGxodWJAMTkyLjE2OC4yMy4zOjQ0NTQK

同時會生成二維碼,客服端可以直接掃描

screenshot from 2018-08-09 11-09-43

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章