123
123
// if authentication failed maybe credentials changed at the
124
124
// remote end therefore reset credentials and retry
125
125
if (credentialsProvider != null && e.InnerException == null && e.Message.Equals("Auth fail"
128
128
credentialsProvider.Reset(uri);
129
129
session = CreateSession(credentialsProvider, fs, user, pass, host, port, hc);