1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
ContextOS/src/relay.go
2021-11-04 15:08:30 +08:00

16 lines
319 B
Go

package main
import (
"os"
"path"
"shylinux.com/x/ice"
_ "shylinux.com/x/icebergs/misc/ssh"
)
func main() {
defer func() { recover() }()
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")}
print(ice.Run(append(args, os.Args[1:]...)...))
}