Project

General

Profile

Bug #37866

Fix validation for Rsync over SSH in new UI

Added by Erin Clark about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Severity:
High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I setup a user on the box I was trying to setup an rsync task to with a ssh key and made sure that the key shows up in authorized keys on root on the first box such that I can ssh to the user on the other box without password just fine but creating an rsync task from that box to the other box fails. I see this in the log.

[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - Opening SSH connection to 10.211.1.160, port 22
[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - [conn=7] Connection to 10.211.1.160, port 22 succeeded
[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - [conn=7]   Local address: 10.250.1.86, port 54241
[2018/07/11 02:25:06] (DEBUG) asyncssh.log():71 - [conn=7] Requesting key exchange
[2018/07/11 02:25:06] (DEBUG) asyncssh.log():71 - [conn=7] Beginning key exchange
[2018/07/11 02:25:06] (DEBUG) asyncssh.log():71 - [conn=7] Completed key exchange
[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - [conn=7] Beginning auth for user stoolie
[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - [conn=7] Auth failed for user stoolie
[2018/07/11 02:25:06] (INFO) asyncssh.log():71 - [conn=7] Connection lost: Disconnect Error: Permission denied

Associated revisions

Revision 76863fe1 (diff)
Added by Waqar Ahmed about 2 years ago

Failing validation for rsync fix Rsync validation was failing when mode was set to ssh. This commit fixes that. Ticket: #37866

Revision eda0ecaa (diff)
Added by Waqar Ahmed about 2 years ago

Failing validation for rsync fix Rsync validation was failing when mode was set to ssh. This commit fixes that. Ticket: #37866

Revision a2107725 (diff)
Added by Waqar Ahmed about 2 years ago

Failing validation for rsync fix Rsync validation was failing when mode was set to ssh. This commit fixes that. Ticket: #37866

History

#1 Updated by William Grzybowski about 2 years ago

Waqar, we need to figure out why asyncssh is not behaving the same as ssh command.

#2 Updated by Waqar Ahmed about 2 years ago

  • Status changed from Unscreened to In Progress

#3 Updated by Waqar Ahmed about 2 years ago

  • Status changed from In Progress to Blocked
  • Reason for Blocked set to Need additional information from Author

Hello. Could you kindly provide me with the exact steps you took to produce this issue ? That would mean starting off from defining how the ssh key was made and where it was added in the PULL machine. If you're comfortable I can look at your machine as well and try to reproduce the issue there. Looking forward to hearing from you. Thank you

#5 Updated by Dru Lavigne about 2 years ago

  • Target version changed from 11.2-BETA2 to 11.2-BETA3

#6 Updated by William Grzybowski about 2 years ago

  • Target version changed from 11.2-BETA3 to 11.2-BETA2

This better be fixed for BETA2

#7 Updated by Waqar Ahmed about 2 years ago

  • Status changed from Blocked to In Progress
  • Reason for Blocked deleted (Need additional information from Author)

#8 Updated by Dru Lavigne about 2 years ago

#9 Updated by Waqar Ahmed about 2 years ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Rsync over SSH with key fails to Fix validation for Rsync over SSH in new UI
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Bonnie Follweiler about 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Passed Testing in FreeNAS-11.2-MASTER-201807250900 by Paul Walker with the following note:I can verify it works now but it would be hard to say this issue is resolved without more information on how it was produced

#12 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF