Skip to content
/ gossh Public

Simple ssh connection with prompt in golang that allow ANSI

Notifications You must be signed in to change notification settings

albttx/gossh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOSSH

This package simply prompt a ssh connection.

Feature

  • Arrow Keys
  • Ctrl- Keys
  • SSH connection with password
  • SSH connection with private keys

Exemple

// leave pass empty for connection with ssh keys
err := gossh.Prompt("user", "pass", "host", "port")
if err != nil {
    fmt.Println(err)
    os.Exit(1)
}

err := gossh.Exec("user", "pass", "host", "port", "ls -la")
if err != nil {
    fmt.Println(err)
    os.Exit(1)
}

asciicast

About

Simple ssh connection with prompt in golang that allow ANSI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages