plan9/rc/bin/tlsclienttunnel

8 lines
153 B
Plaintext
Raw Normal View History

2014-02-08 11:19:48 +04:00
#!/bin/rc
if(! ~ $#* 3){
echo 'usage: tlsclienttunnel cryptaddr plainaddr cert.thumb' >[1=2]
exit usage
}
aux/listen1 -t $2 /bin/tlsclient -t $3 $1 &