-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using ssh as a remote, unexpected error - Channel closed #2755
Comments
Here is SFTP subsystem configuration from
|
Hi @aabramovrepo ! Could you show full log for |
@aabramovrepo Also, are you able to |
Hi, thanks for the quick response!
yes, I can ssh into the server machine by myself. |
Nope! I'm getting the following error message:
|
@aabramovrepo Oh, if you are not able to sftp into that machine without dvc, then I would start with sorting out that issue first. I'm not that familiar with sftp configuration and synology so I don't really know if that is a known issue or not. Googling around for |
@efiop should we update our docs (and website?) to mention that SFTP support is required? |
@shcheklein It seems pretty obvious, but sure iterative/dvc.org#781 |
@efiop may be I don't quite understand this (like is SFTP the only way to deal with SSH?), could you elaborate a little bit why is it obvious? May be we don't need that ticket indeed. |
@shcheklein Not aware of any other way. But we don't mention SFTP in our docs at all, so I guess it is worth documenting. |
@efiop I have resolved the problem with sftp, now I can ssh and sftp into the disk station machine, furthermore, I can copy files and directories there via scp. However,
Do you know what might be the reason for that? I'm a bit surprised seeing no colon between ip address and directory on the server.
for copying files via scp the following command is used (with colon):
and it works just fine. Thanks in advance for your help! Cheers, |
@aabramovrepo Glad to hear you've got ssh and sftp figured out! Regarding the colon, it doesn't matter, both formats are valid, it is just how we show it in logs. Regarding the "Permission denied", I suppose |
@efiop thanks for the instant respond! yeah, volume1 exists already, that's correct. After sftp into the server machine I'm landing in |
@aabramovrepo Yep, so your sftp server is configured to have its root in |
@aabramovrepo Btw, when you |
@efiop yeah, it helped, To your second question: |
@aabramovrepo Sure! Glad to hear it works now! 🙂 Thanks for the info! Makes me think that we might be able to use that to detect that we are not in the physical root and print a meaningful hint or something #2812. If not, we'll at least document it iterative/dvc.org#802. Thanks for the feedback! |
hey @aabramovrepo, it seems i'm having a similar issue. ssh works fine, but sftp does not, resulting in care to share how you solved your issue? it may help me. update: fixed. it seems that somehow the permission for my user to use the ‘FTP’ application (also applicable to sftp apparently) was disabled. i reenabled via the synology DSM control panel by editing my user account. |
New-PSSession -HostName xx.x.x.xx -UserName user Getting this type of error kindly help |
Hi there,
I'm facing the following issue while using ssh as a remote for storing data on a disk station manager by Synology. Here is the error I'm getting after
dvc push
:ERROR: unexpected error - Channel closed.
The same remote configuration works just fine when using a standard Desktop machine with Ubuntu 18 as a server. The DVC remote was created as follows:
dvc remote add remote-ssh ssh://<user name>@<ip address>:<path on the server>
dvc config core.remote remote-ssh
dvc remote modify remote-ssh ask_password true
Does anybody have an idea what needs to be changed in the ssh config?
Thanks in advance for any advice!
Best,
Alexey
The text was updated successfully, but these errors were encountered: