ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang
MIT License
15.45k stars 2.42k forks source link

ssh id_rsa with password #997

Open alifazl3 opened 6 months ago

alifazl3 commented 6 months ago

i have an encrypted id_rsa with password and when i want to use ssh tunel it give me this error:

2023/12/17 21:23:09 main.go:90: ssh: this private key is passphrase protected

is there any way it can ask for my password? i use this command:

sudo gost -L :8080 -F "ssh://my_ip_address:PORT?ssh_key=.ssh/id_rsa"