1
0
forked from x/ContextOS
ContextOS/src/relay.go
2020-11-26 21:50:22 +08:00

18 lines
385 B
Go

package main
import (
ice "github.com/shylinux/icebergs"
_ "github.com/shylinux/icebergs/base/ssh"
log "github.com/shylinux/toolkits/logs"
"os"
"path"
)
func main() {
log.LogDisable = true
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")}
args = append(args, os.Args[1:]...)
print(ice.Run(args...))
}