/sslh – Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)

所以 sslh 的功能就是,如下最後說明

安裝

我是使用 centos

所以需要

yum install libconfig libconfig-devel -y

git clone https://github.com/yrutschle/sslh.git

然後

cd sslh

make install

手動執行看看 (前提是 sshd 與 httpd 要先安裝、啟用)

sslh -v -f -p 10.10.10.137:12345 --http localhost:80 --ssl localhost:443 --ssh localhost:22

最後我用瀏覽器瀏覽 http://10.10.10.137:12345 或 https://10.10.10.137:12345 看得到網頁

而用 ssh root@10.10.10.137:12345 就可以連入主機 console

Related posts 相關文章
xz liblzma 漏洞後門事件
More...
ssh 到裝有 cygwin openssh 的 windows 主機卻出現 no kex alg 錯誤
More...
CentOS7 透過 systemd 自動讓服務 restart 重啟
More...
sshd 無法啟動,出現 daemon() failed no such device
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。