Discover Packages
github.com/eschercloudai/baski
pkg
ssh
package
Version:
v0.0.5-beta.1
Opens a new window with list of versions in this module.
Published: Mar 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CopyFromRemoteServer uses sftp to copy a file from a remotes server to a local directory.
NewClient creates a new ssh connection to a remote server.
It will attempt to connect up to 10 times with a 10-second gap to prevent a crash
should the first attempt fail while the server is booting.
RunRemoteCommand uses an existing SSH connect and runs a command on the remote server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.