ssh

package
v0.81.0-dev-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_KEY_LENGTH = 2048

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "ssh <user@host> <command> [args...]",
	Short: "Connect to SSH server",
	Args:  cobra.MinimumNArgs(2),
	Run: func(c *cobra.Command, args []string) {
		user, host, err := parseSSHUserAndHost(args[0])
		if err != nil {
			log.Fatal(err)
		}
		ssh(user, host, args[1:])
	},
}
View Source
var FlagECDSA bool
View Source
var FlagUseGo bool

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL