github.com/alloyci/alloy-runner@v1.0.1-0.20180222164613-925503ccafd6/helpers/ssh/ssh_config.go (about)

     1  package ssh
     2  
     3  type Config struct {
     4  	User         string `toml:"user,omitempty" json:"user" long:"user" env:"SSH_USER" description:"User name"`
     5  	Password     string `toml:"password,omitempty" json:"password" long:"password" env:"SSH_PASSWORD" description:"User password"`
     6  	Host         string `toml:"host,omitempty" json:"host" long:"host" env:"SSH_HOST" description:"Remote host"`
     7  	Port         string `toml:"port,omitempty" json:"port" long:"port" env:"SSH_PORT" description:"Remote host port"`
     8  	IdentityFile string `toml:"identity_file,omitempty" json:"identity_file" long:"identity-file" env:"SSH_IDENTITY_FILE" description:"Identity file to be used"`
     9  }