Skip to content

Commit

Permalink
tidy up files used
Browse files Browse the repository at this point in the history
  • Loading branch information
cconstab committed Apr 26, 2022
1 parent cf416c9 commit 190a84e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cleanup_sshnp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Future<void> cleanUp(String sessionId, AtSignLogger _logger) async {

sleep(Duration(seconds: 2));
// Delete the generated RSA keys and remove the entry from ~/.ssh/authorized_keys
// await deleteFile('$sshHomeDirectory${sessionId}_rsa', _logger);
// await deleteFile('$sshHomeDirectory${sessionId}_rsa.pub', _logger);
//await removeSession(sshHomeDirectory, sessionId, _logger);
await deleteFile('$sshHomeDirectory${sessionId}_rsa', _logger);
await deleteFile('$sshHomeDirectory${sessionId}_rsa.pub', _logger);
await removeSession(sshHomeDirectory, sessionId, _logger);

}

Expand Down

0 comments on commit 190a84e

Please sign in to comment.