Skip to content

Commit

Permalink
Remove blowfish cipher requirement in ssh util
Browse files Browse the repository at this point in the history
Hardcoding blowfish causes issues on systems where it is not available.
By simply removing it, cipher negotiation will kick in instead.

Signed-off-by: Jonatan Pålsson <[email protected]>
  • Loading branch information
jonte committed Oct 25, 2016
1 parent ee743bd commit 512ef64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smart/util/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ def scp(self, src, dst, recursive=0, **kwargs):
r = "-r "
else:
r = ""
return self._exec("scp %s-c blowfish %s %s@%s:%s" %
return self._exec("scp %s %s %s@%s:%s" %
(r, src, self.username, self.host, dst), **kwargs)

def rscp(self, src, dst, recursive=0, **kwargs):
if recursive:
r = "-r "
else:
r = ""
return self._exec("scp %s-c blowfish %s@%s:%s %s" %
return self._exec("scp %s %s@%s:%s %s" %
(r, self.username, self.host, src, dst), **kwargs)

def exists(self, file):
Expand Down

0 comments on commit 512ef64

Please sign in to comment.