forked from x/ContextOS
opt relay
This commit is contained in:
parent
39636d5327
commit
06fe63a252
@ -4,14 +4,12 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
ice "shylinux.com/x/icebergs"
|
"shylinux.com/x/ice"
|
||||||
_ "shylinux.com/x/icebergs/misc/ssh"
|
"shylinux.com/x/icebergs/misc/ssh"
|
||||||
log "shylinux.com/x/toolkits/logs"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.LogDisable = true
|
|
||||||
defer func() { recover() }()
|
defer func() { recover() }()
|
||||||
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")}
|
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:]...)...))
|
print(ice.Run(append(args, os.Args[1:]...)...))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user