Permalink
Browse files

added remote command to exclude list to avoid parsing errors

  • Loading branch information...
1 parent 20f0f56 commit 026fe0a77c79cc4293b6219b477231f49c6f7c16 @moul committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 advanced-ssh-config.py
@@ -107,7 +107,7 @@ def _update_sshconfig(self, write = True):
host = re.sub('\\\.', '.', host)
config += ["Host %s" % host]
for key, value in self.parser.items(section):
- if key not in ['hostname', 'gateways', 'reallocalcommand']:
+ if key not in ['hostname', 'gateways', 'reallocalcommand', 'remotecommand']:
if key == 'alias':
key = 'hostname'
config += [" %s %s" % (key, value)]

0 comments on commit 026fe0a

Please sign in to comment.