Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConInfoCmd ¶
type ConInfoCmd struct {
Index int
Count int
Cmd []string
Server string
ServerMaxLength int
Addr string
Port string
User string
Pass string
KeyPath string
ProxyServer string
Proxy conf.ProxyConfig
Flag ConInfoCmdFlag
Connect *ssh.Client
StdinTempPath string
}
func (*ConInfoCmd) CreateSession ¶ added in v0.4.4
func (c *ConInfoCmd) CreateSession() (session *ssh.Session, err error)
type ConInfoCmdFlag ¶
type ConInfoTerm ¶
type ConInfoTerm struct {
Log bool
LogDir string
Server string
Addr string
Port string
User string
Pass string
KeyPath string
BeforeCmd string
AfterCmd string
ProxyServer string
Proxy conf.ProxyConfig
LocalUser *user.User
}
func (*ConInfoTerm) Connect ¶
func (c *ConInfoTerm) Connect() (err error)
Click to show internal directories.
Click to hide internal directories.