Documentation ¶
Index ¶
- func BackupRemoteDir(config cmd.Config, remoteDir string, tmpDir string, download bool) (string, error)
- func ChangePassword(client *ssh.Client, username string, newPassword string) error
- func DeleteRemoteDirContent(config cmd.Config, dir string) error
- func EmergencyBackupAndUpload(config cmd.Config, localDir, targetDir, tmpDir string) error
- func EstablishSSHConnection(config cmd.Config) (*ssh.Client, error)
- func TestSSHConnection(config cmd.Config) error
- func TestSSHConnectionAndChangePass(config cmd.Config) error
- func UploadAndExtract(config cmd.Config, filePattern, targetDir, tmpDir string) error
- func UploadAndRunPatch(config cmd.Config, filePattern, targetDir, tmpDir string) error
- func UploadEdr(config cmd.Config, localDir, remoteDir, command string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupRemoteDir ¶
func ChangePassword ¶
func TestSSHConnection ¶
func UploadAndExtract ¶
func UploadAndRunPatch ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.