Server ssh works!!
This commit is contained in:
@ -80,7 +80,9 @@ class service_runner {
|
||||
// 4. copy it to the local user_dir/backups folder
|
||||
bool backup();
|
||||
|
||||
|
||||
// launch an interactive ssh session on a server or service
|
||||
// replaces the current dropshell process with the ssh process
|
||||
void interactive_ssh_service();
|
||||
|
||||
private:
|
||||
std::string m_server_name;
|
||||
@ -106,6 +108,7 @@ class service_runner {
|
||||
static bool execute_local_command_and_capture_output(const std::string& command, std::string & output);
|
||||
};
|
||||
|
||||
void interactive_ssh(const std::string & server_name, const std::string & command);
|
||||
|
||||
} // namespace dropshell
|
||||
|
||||
|
Reference in New Issue
Block a user